[Zope-CMF] newbie question

Joćo Neves joao@fabricadeideias.com
Tue, 04 Sep 2001 20:27:56 -0300


The error I get is:

Unauthorized

You are not authorized to access meta_type.
.
ending with:

File /usr/local/zope/lib/python/AccessControl/SecurityManager.py, line 149, in
validate
                File
/usr/local/zope/lib/python/AccessControl/ZopeSecurityPolicy.py, line 229, in
validate
              Unauthorized: (see above)

Any ideas?

Thnx Again.

Jon Edwards wrote:

> > But it still send an unauthorized user to the login page!!  Am I missing
> > something else?
>
> Hard to say, but a while ago I had similar problems and got a tip from Seb
> which is very useful for tracking down the problem -
>
> Delete the "cookie_authentication" object from the root of your portal
> (remember to put it back when you finish!)
>
> Then when you view again, instead of redirecting to the login_form, you'll
> get an authentication box. Press Cancel, and you'll get a Zope Traceback
> which will show you which object is throwing up the unauthorized message.
>
> HTH ...maybe I should add that as an FAQ?
>
> Cheers, Jon

--
-------------------------------------------
Joćo Neves
joao@fabricadeideias.com
Fabrica de Ideias
SBS - Ed. Empire Center - bl. S - sala 508
cep 70070-904 - Brasilia - DF - Brazil
tel: (61) 321 1357
fax: (61) 223 1712
-------------------------------------------