Re: [Zope-CMF] Customised permissions

2009-06-03 Thread Charlie Clark
Am 03.06.2009 um 15:47 schrieb Martin Aspeli: > That code is, but not the whole functionality. The functionality to > register Zope 2 style permissions when a ZCML statement > is used is new to collectie.autopermission. I merged that back into > Zope > for Zope 2.12, so if you're on 2.12 you'r

Re: [Zope-CMF] Customised permissions

2009-06-03 Thread Martin Aspeli
Charlie Clark wrote: > Am 03.06.2009 um 13:05 schrieb Wichert Akkerman: > >> Not if you use collective.autopermission. > > In which it states: > > # This is borrowed from Products.CMFCore to avoid a dependency. > > Where it states > > # XXX This ought to be in AccessControl.SecurityInfo. > >

Re: [Zope-CMF] Customised permissions

2009-06-03 Thread Charlie Clark
Am 03.06.2009 um 13:05 schrieb Wichert Akkerman: > Not if you use collective.autopermission. In which it states: # This is borrowed from Products.CMFCore to avoid a dependency. Where it states # XXX This ought to be in AccessControl.SecurityInfo. :-/ It looks like I only need use_mailhost_s

Re: [Zope-CMF] Customised permissions

2009-06-03 Thread Wichert Akkerman
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, surpri

[Zope-CMF] Customised permissions

2009-06-03 Thread Charlie Clark
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 im