标签: liferay liferay-6 liferay-7
在Liferay 7中,要设置布局的VIEW权限,我使用了这种方法:
resourcePermissionLocalService.setResourcePermissions(companyId, LAYOUT_CLASS_NAME, scope, primKey, roleId, ActionKeys.VIEW);
resourcePermissionLocalService.setResourcePermissions(companyId, LAYOUT_CLASS_NAME, scope, primKey, roleId, ActionKeys.VIEW)
我的问题是:如何取消设置 VIEW权限,以便roleId无法查看布局?
VIEW