Add tenant view perm to role permissions

pull/264/head
prathabanKavin 1 year ago
parent ae5bcf4f8a
commit 9ab12d1b3f

@ -340,7 +340,8 @@ public class RoleManagementServiceImpl implements RoleManagementService {
for (UIPermissionNode node : permissionNode.getNodeList()) {
if (Constants.Permission.LOGIN.equals(node.getResourcePath()) ||
Constants.Permission.DEVICE_MGT.equals(node.getResourcePath()) ||
Constants.Permission.APP_MGT.equals(node.getResourcePath())) {
Constants.Permission.APP_MGT.equals(node.getResourcePath()) ||
Constants.Permission.TENANT.equals(node.getResourcePath())) {
deviceMgtPermissionsList.add(node);
}
}

@ -84,6 +84,7 @@ public class Constants {
public static final String LOGIN = "/permission/admin/login";
public static final String DEVICE_MGT = "/permission/admin/device-mgt";
public static final String APP_MGT = "/permission/admin/app-mgt";
public static final String TENANT = "/permission/admin/tenants";
}
}

Loading…
Cancel
Save