forked from github/dataease
feat: 权限管理按资源授权方式支持行列权限设置
This commit is contained in:
parent
0d73961d86
commit
7a1e79e314
@ -44,7 +44,7 @@ public class XAuthServer {
|
||||
public List<XpackSysAuthDetail> authDetailsModel(@PathVariable String authType, @PathVariable String direction) {
|
||||
AuthXpackService sysAuthService = SpringContextUtil.getBean(AuthXpackService.class);
|
||||
List<XpackSysAuthDetail> authDetails = sysAuthService.searchAuthDetailsModel(authType);
|
||||
if ("source".equals(direction) && authType.equalsIgnoreCase("dataset")) {
|
||||
if (authType.equalsIgnoreCase("dataset")) {
|
||||
XpackSysAuthDetail xpackSysAuthDetail = new XpackSysAuthDetail();
|
||||
xpackSysAuthDetail.setPrivilegeName("i18n_auth_row_permission");
|
||||
xpackSysAuthDetail.setPrivilegeType(20);
|
||||
|
Loading…
Reference in New Issue
Block a user