Previously Charlie Clark wrote:
> Hi,
> 
> this should be a no-brainer but apart from a recent discussion on the  
> death of local permissions I can't much on it - how do I use custom  
> permissions?
> 
> I've added them in to zcml but they don't crop up in the security  
> interfaces and, surprise, surprise, I get an error when I try and  
> import a role map that uses them.
> 
> <permission
>       id="charlie.can do everything"
>       title="Only rulerz can have this permission
> />
> 
> Do I need additional Python calls to the security modules to register  
> this?

Not if you use collective.autopermission.

Wichert.

-- 
Wichert Akkerman <wich...@wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to