Can anyone tell me if it is possible to create your own permissions ie. a new row on the security screen which may or may not be assigned to a role. Code could be written which checks if the current user has this permission: <dtml−if expr="_.SecurityCheckPermission('NewPermission', this())"> .. Thanks, Richard _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
CMFCore.utils.setDefaultRoles does that, have a look at the code. Florent Richard McKinley <richard_mckinley@hotmail.com> wrote:
Can anyone tell me if it is possible to create your own permissions ie. a new row on the security screen which may or may not be assigned to a role.
Code could be written which checks if the current user has this permission:
<dtml−if expr="_.SecurityCheckPermission('NewPermission', this())"> ..
Thanks, Richard
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (2)
-
Florent Guillaume -
Richard McKinley