How would I know what permissions the following Liferay Roles have:
- Site Administrator
- Site Owner
I can't see any entry made in the ResourcePermissions
table for the system roles like the above two and the Administrator
role, hence I think this renders the Permission...Service
classes useless in my case.
Use-case
What we need to do is give the Site Administrator
role but remove some of the permissions like a particular Site Administrator
should not be able to update site-settings or should not be able to access certain screens on Control Panel etc.
We are thinking of creating a separate role (Custom Site Admin
) since we can't define permissions for roles created by Liferay and then we will assign all the permissions of Site Administrator
to this role and remove some of the permissions as specified in the use-case.
Edit:
Another question is, if I create a new role and assign all the permissions & just remove a few, will it affect Performance?
Version: Liferay 6.1 GA2
If you know some other workaround regarding this problem, I would be really grateful.
Thanks