
charlie at begeistert
Jun 3, 2009, 12:58 AM
Views: 465
Permalink
|
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? I'm not quite sure if the setDefaultRoles() in CMFCore.permissions does this or not. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 _______________________________________________ Zope-CMF maillist - Zope-CMF[at]lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
|