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. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users