[Zope] Zope Permissions

Florent Guillaume fg@nuxeo.com
Fri, 17 May 2002 12:40:28 +0000 (UTC)


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&#8722;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