[Zope] unauthorized error

Kevin Worth kworth@engin.umich.edu
Fri, 20 Oct 2000 15:28:05 -0400


Upon upgrading from 2.1.3 to 2.2.2, I have run into a strange problem.

I have a couple of custom products (developed here, but not by me, so 
I'm not sure of the specifics, but i can find them out.

I can edit current instances of the product, but I cannot add new 
ones because give me an unauthorized error.  No matter what 
username/password I provide, it fails.  I import these from my 
previous installation (the 2.1.3 version)  I assume this has to do 
with the change in the way security is handled in zope 2.2.x, but I 
haven't figured out how to fix it.

A traceback looks like this:

Traceback (innermost last):
   File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 222, in 
publish_module
   File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 187, in publish
   File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 171, in publish
   File H:\MSEWEB~1\lib\python\ZPublisher\mapply.py, line 160, in mapply
     (Object: index_html)
   File H:\MSEWEB~1\lib\python\ZPublisher\Publish.py, line 112, in call_object
     (Object: index_html)
   File H:\MSEWEB~1\lib\python\App\Factory.py, line 178, in index_html
     (Object: RoleManager)
   File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 172, in __call__
     (Object: Procedure_addForm)
   File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 
528, in __call__
     (Object: Procedure_addForm)
   File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__
     (Object: standard_html_header)
   File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 
528, in __call__
     (Object: standard_html_header)
   File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 168, in __call__
     (Object: breadcrumbs)
   File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_String.py, line 
528, in __call__
     (Object: breadcrumbs)
   File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob
     (Object: rev)
   File H:\MSEWEB~1\lib\python\DocumentTemplate\DT_With.py, line 146, in render
     (Object: sequence-item)
   File H:\MSEWEB~1\lib\python\OFS\DTMLMethod.py, line 194, in validate
     (Object: Procedure_addForm)
   File H:\MSEWEB~1\lib\python\AccessControl\SecurityManager.py, line 
139, in validate
   File H:\MSEWEB~1\lib\python\AccessControl\ZopeSecurityPolicy.py, 
line 159, in validate
Unauthorized: id

Any help would be appreciated.
-- 
-----------------------------------------------
Kevin Worth <kworth@engin.umich.edu>
Computer Systems Specialist II and Adjunct Lecturer
Department of Materials Science and Engineering
University of Michigan