[Zope3-Users] Security related questions
FB
fbo2 at gmx.net
Wed Jan 17 05:06:13 EST 2007
Hi,
On Tue, Jan 16, 2007 at 01:15:53PM -0500, Stephan Richter wrote:
> On Tuesday 16 January 2007 12:39, FB wrote:
> > is there a way to get all the permissions and roles, the current principal
> > is associated to for a given object?
> >
> > Something like:
> >
> > getAllRoles(context)
> > getAllPermissions(context)
>
> No. You would have to write your own code doing that. Note that it really
> depends on the security policy on what roles and permissions are available.
My securitypolicy is z.a.securitypolicy :-) .
Thank you, Stephan.
Frank
More information about the Zope3-users
mailing list