[Zope3-Users] Security related questions

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jan 16 13:15:53 EST 2007


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


More information about the Zope3-users mailing list