[Zope3-dev] Problem granting to principals

Roger Ineichen dev at projekt01.ch
Wed Feb 9 18:32:13 EST 2005


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