Add tenant view perm to role permissions

location-fix
commit ba17f0e778

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

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

Loading…
Cancel
Save