[Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

Yuri yurj at alfa.it
Fri May 25 04:48:04 EDT 2007


I've an application in Zope. A user see this message when he try to 
submit a form. I've tried myself with his account and I had no error.

 I'm using OpenFlow, if it matters. The user is never sent to the 
openflow instance, so I don't understand how he tries to request this url.

 Can be a browser problem? The user is sent to management screen with no 
apparent reason:

Time 	2007/05/25 10:12:05.769 GMT+2
User Name (User Id) 	ww (ww)
Request URL 
http://myserver.com:8080/xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/paper/index_html 


Exception Type 	Unauthorized
Exception Value 	You are not allowed to access 'manage_page_header' in 
this context

Traceback (innermost last):

    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module Products.PageTemplates.PageTemplateFile, line 106, in _exec
    * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
      *<PageTemplateFile at
      /xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/index_html used
      for /xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/paper>*
    * Module TAL.TALInterpreter, line 190, in __call__
    * Module TAL.TALInterpreter, line 234, in interpret
    * Module TAL.TALInterpreter, line 569, in do_insertStructure_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      *URL: index_html*
      *Line 1, Column 0*
      *Expression: standard:'here/manage_page_header'*
      *Names:*

      {'container': <instance instance at b0556230>,
       'context': <RendicontiFolder instance at b0556b60>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb74e8c8c>,
       'here': <RendicontiFolder instance at b0556b60>,
       'loop': <SafeMapping instance at 9d2d1b0>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb744604c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <SafeMapping instance at 9d2d1b0>,
       'request': <HTTPRequest, URL=http://myserver.com:8080/xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/paper/index_html>,
       'root': <Application instance at b59f72f0>,
       'template': <PageTemplateFile at /xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/index_html used for /xxx/yyy/WorkFlow/ProcessInstances/1180080540.75/paper>,
       'traverse_subpath': [],
       'user': bersani}

    * Module Products.PageTemplates.Expressions, line 172, in __call__
    * Module Products.PageTemplates.Expressions, line 160, in _eval
    * Module Products.PageTemplates.Expressions, line 116, in _eval
      __traceback_info__: here
    * Module Products.PageTemplates.Expressions, line 311, in
      restrictedTraverse
      __traceback_info__: {'path': ['manage_page_header'],
      'TraversalRequestNameStack': []}

Unauthorized: You are not allowed to access 'manage_page_header' in this 
context


More information about the Zope mailing list