Re: [Zope3-Users] Security related questions

2007-01-17 Thread Thierry Florac
Le mercredi 17 janvier 2007 à 11:06 +0100, FB a écrit : 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?

Re: [Zope3-Users] Security related questions

2007-01-16 Thread Stephan Richter
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