[Zope] ClassSecurityInfo().declareProtected()
drew nichols
drew at mena.org.au
Wed Sep 29 03:47:36 EDT 2004
Hello,
Is it possible to protect a class method with multiple permissions?
ClassSecurityInfo().declareProtected(['perm1','perm2'], 'method')
doesn't seem to work
and
ClassSecurityInfo().declareProtected('perm1', 'method')
ClassSecurityInfo().declareProtected('perm2', 'method')
will default to perm2 - the last assertion.
Do I need to create a new permission?
More information about the Zope
mailing list