Re: [Zope-PAS] Re: Failure authorizing with PlonePAS and pubcookie

2007-03-01 Thread Michael Gilbert
If anyone would like to look at the Role Manager code referenced below, you can find it at http://staff.washington.edu/mdgilb, along with the PubcookiePAS plugin mentioned before. -michael Michael Gilbert wrote: Here's our first stab at creating a custom role manager, working almost entirely

[Zope-PAS] Re: Failure authorizing with PlonePAS and pubcookie

2007-02-28 Thread Michael Gilbert
Here's our first stab at creating a custom role manager, working almost entirely as it should. It currently behaves quite similarly to the regular RoleManager, except that if no roles are found it will attempt to get them from the root. The problem we're running into, I'm guessing, comes

[Zope-PAS] Failure authorizing with PlonePAS and pubcookie

2007-02-13 Thread Michael Gilbert
about here and can't find where _principal_roles is definitively set. I believe the solution should be that self._principal_roles.get('ValidSiteManagerUser') returns at the very least ('Manager') - any ideas on how to achieve this? Thanks, Michael Gilbert Software Support Group, University

[Zope-PAS] Re: Failure authorizing with PlonePAS and pubcookie

2007-02-13 Thread Michael Gilbert
options instead of the expected Plugin Types. Thanks again, Michael Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Gilbert wrote: We are currently having problems trying to get authorization working with Plone 2.5.2, Zope 2.9.6, and Python 2.4.3 using pubcookie