RE: [Zope-dev] Objects, Roles and Permissions

2001-04-10 Thread Randall F. Kern
- From: Danny William Adair [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 7:49 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope-dev] Objects, Roles and Permissions Thank you very much, Richard! Cool! Still... ... Feel free to expand the method

Re: [Zope-dev] Objects, Roles and Permissions

2001-04-10 Thread richard
"Randall F. Kern" wrote: I haven't worked with this code closely in a few months, but as I recall permissions that are acquired are stored as a list, and those that aren't are stored as a tuple. if type(self._View_Permission) == type(()): # done, this permission isn't acquired

Re: [Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread richard
Danny William Adair wrote: what's the fastest way to find out whether a specific role has a specific permission on a specific object? What's the fastest way to find out if it's acquired? Even more interesting: How would I find out whether a specific role has a specific permission on a