[Zope3-dev] Problem granting to principals
Garrett Smith
garrett at mojave-corp.com
Thu Feb 10 19:48:55 EST 2005
Another wrinkle...bear in mind I don't know what I'm doing :)
The same problem creeps up when I create a PAU using a prefix:
LocalPluggableAuthentication('myauth.')
In this case, the PAU has a principal factory and without the prefix the
grant UI works fine.
What meaning does a prefix have for a PAU?
Btw, I'm with Roger on the use of PAU -- from what I can tell 'pau' is
Portuguese slang for the male sex organ, which I don't think is too
terrible. True, it makes for some interesting double-entendres, but it
also gives Zope 3 a bit of character, no? :)
-- Garrett
Jim Fulton wrote:
> Garrett Smith wrote:
>> The problem was that I hadn't specified a principal factory for the
>> pau.
>>
>> I'm not sure if this is still a bug, but in any case, the grants page
>> should be more forgiving or informative. I'll add a low priority
>> issue to that effect.
>
> Ah, I should have thought of that. Dang.
>
> At the very least, the searching machinery shouldn't return principals
> if there isn't a factory that understand them. I'll look at this.
>
> In general, the user experience of setting up a pluggable
> authentication is pretty bad. It badly needs to be improved.
>
> I have some ideas for improving the UI, if anyone's interested. :)
>
> Jim
More information about the Zope3-dev
mailing list