-
1. Re: Portlet permissions, using the security element
shazzaam Jun 3, 2008 6:08 PM (in response to shazzaam)Hi,
Maybe I didn't ask the question right, I'm going to rephrase it, in hopes that it's more clear what I'm asking:
In JBoss portal 2.6.5 is it possible to create custom permissions for a role at the portlet level? For instance, say I want to add a Write permission so that only certain roles will be able to Write/Make changes within that portlet, is this possible without having to write my own ACL API? -
2. Re: Portlet permissions, using the security element
peterj Jun 4, 2008 10:45 AM (in response to shazzaam)If by "write permission", you mean the ability for the user to enter edit mode (for read permission the user can enter only view mode), the answer is no.
Based on the permission names "view" and "personalize", one would think that "view" would be "read access' and "personalize" would be "write access". But that is not the case - even a user with only view access can go into edit mode and change the preferences.
The above comes from my experiences with 2.4 through 2.6.4. I have not yet tried this out on 2.6.5 so I don't know if it has changed. -
3. Re: Portlet permissions, using the security element
shazzaam Jun 6, 2008 2:57 PM (in response to shazzaam)Hey PeterJ, thanks for replying.
By "write permission" I'm just referring to any custom permission that you may want to add to check a user's permission for a given portlet. Currently, the only permissions available are view, view-recursive, personalize and personalize-recursive -
4. Re: Portlet permissions, using the security element
peterj Jun 6, 2008 10:55 PM (in response to shazzaam)As far as I know, there is no way to extend the current set of permissions to add your own.