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
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to