Re: [Zope-dev] permission management behaviour

2004-12-03 Thread Florent Guillaume
Have a look at DCWorkflow.utils there are simple functions to do exactly that. Florent In article <[EMAIL PROTECTED]> you write: > I try to set the permission to role mapping (which worked with the code > snippet I posted, except for the behaviour i described). I just thought the > manage_role co

Re: [Zope-dev] permission management behaviour

2004-12-03 Thread bTurtle ZOpe
I try to set the permission to role mapping (which worked with the code snippet I posted, except for the behaviour i described). I just thought the manage_role could be used for this task. I will have a look at the methods used by the ZMI. thanks Stefan Zitat von Dieter Maurer <[EMAIL PROTECTED

Re: [Zope-dev] permission management behaviour

2004-12-01 Thread Dieter Maurer
bTurtle ZOpe wrote at 2004-11-30 16:37 +0100: > ... >Can someone explain why this is so? or what I am doing wrong. I did not understand what you are trying to achieve. Do you want to: * determine the protection of methods by permissions? You would use "ClassSecurityInfo" and its "declar