[Zope3-dev] Problem granting to principals
Roger Ineichen
dev at projekt01.ch
Wed Feb 9 18:54:28 EST 2005
From: Garrett Smith [mailto:garrett at mojave-corp.com]
> Sent: Thursday, February 10, 2005 12:45 AM
> To: dev at projekt01.ch
> Cc: zope3-dev at zope.org
> Subject: RE: [Zope3-dev] Problem granting to principals
>
> I've added a pluggable authentication utility and a principal
> folder to
> ++etc++site/default. I'm trying to grant in the root folder.
>
> I can search the principals in principals.zcml, but I get the error
> below when I search the principals folder in ++etc++site/default.
Principals form a PrincipalFolder instance or the global
prinzipals.zcml principals?
Regards
Roger Ineichen
Projekt01 GmbH
www.projekt01.ch
_____________________________
END OF MESSAGE
> -- Garrett
>
> Roger Ineichen wrote:
> > Hi Garrett
> >
> >
> >> -----Original Message-----
> >> From: zope3-dev-bounces+dev=projekt01.ch at zope.org
> >> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] On Behalf Of
> >> Garrett Smith Sent: Wednesday, February 09, 2005 11:23 PM
> >> To: zope3-dev (E-mail)
> >> Subject: [Zope3-dev] Problem granting to principals
> >>
> >> When using the @@grant.html view, I'm getting a lookup error when I
> >> search for a principal in a principals folder:
> >>
> >> File "\zope\app\security\browser\principalterms.py", line 49, in
> >> getTerm raise LookupError, principal_id
> >
> > Do you have this error just if you click on a search button
> > in the grant.html view for sources above your actualy site?
> >
> > Does your tree look something like site/subsite/folder?
> >
> > Or are you searching in the principal folder of your site
> > where you grant?
> >
> >> I've seen this work not too long ago.
> >>
> >> I've tried various settings, e.g. with prin folder prefix and
> >> without, but I always get this error.
> >>
> >> I can add a collector issue, unless this is user error, or someone
> >> fixes it first :)
> >>
> >> -- Garrett
> >> _______________________________________________
> >> Zope3-dev mailing list
> >> Zope3-dev at zope.org
> >> Unsub:
> >> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list