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

2007-05-25 Thread Yuri
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:


Time2007/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

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


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

2007-05-25 Thread Andreas Jung



--On 25. Mai 2007 10:48:04 +0200 Yuri [EMAIL PROTECTED] wrote:


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.
 Unauthorized: You are not allowed to access 'manage_page_header' in this
context



Google for Plone How to debug unauthorized.

-aj

pgpyFrL9yGhRO.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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

2007-05-25 Thread Yuri

Andreas Jung wrote:



--On 25. Mai 2007 10:48:04 +0200 Yuri [EMAIL PROTECTED] wrote:


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.
 Unauthorized: You are not allowed to access 'manage_page_header' in 
this

context



Google for Plone How to debug unauthorized.



It is Zope and I now how to debug (now :-D). The problem is that it 
doesn't happen to me, but to that specific user, on that specific 
computer/browser, I suppose :)


I just asked if it is happened already that the browser matter (maybe a 
cookie/browser problem?)

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


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

2007-05-25 Thread Andreas Jung



--On 25. Mai 2007 11:03:47 +0200 Yuri [EMAIL PROTECTED] wrote:


Andreas Jung wrote:



--On 25. Mai 2007 10:48:04 +0200 Yuri [EMAIL PROTECTED] wrote:


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.
 Unauthorized: You are not allowed to access 'manage_page_header' in
this
context



Google for Plone How to debug unauthorized.



It is Zope and I now how to debug (now :-D). The problem is that it
doesn't happen to me, but to that specific user, on that specific
computer/browser, I suppose :)


You might take advices seriously (but you tend to ignore them) :-)

Unauthorized is a *ZOPE* exception and VerboseSecurity is a *Zope* tool.

-aj

pgpc07vDDVcJc.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )