Re: [Zope] problem with dynamic dtml-with
(Please stay on the list) Steffen Hausmann wrote:
On Sun, Jun 15, 2003 at 12:55:23PM +0200, Oliver Bleutgen wrote:
Steffen Hausmann wrote:
works, but if I try to access the whole path (../../edit/Terminhinweisverwaltung/) another error is raised.
Error Type: Unauthorized Error Value: You are not allowed to access Terminhinweisverwaltung in this context
Hmm, only a guess, does the user have the "Access Contents Information" permission everywhere in the path (esp. at 'edit')? But this is clearly fixable by giving the right permissions.
I'm even getting the unauthorized error if I'm loggeg in as admin...
Hmm, what does the traceback say? cheers, oliver
On Mon, Jun 16, 2003 at 03:31:17PM +0200, Oliver Bleutgen wrote:
(Please stay on the list)
I just forgot it...
Steffen Hausmann wrote:
On Sun, Jun 15, 2003 at 12:55:23PM +0200, Oliver Bleutgen wrote:
Steffen Hausmann wrote:
works, but if I try to access the whole path (../../edit/Terminhinweisverwaltung/) another error is raised.
Error Type: Unauthorized Error Value: You are not allowed to access Terminhinweisverwaltung in this context Hmm, only a guess, does the user have the "Access Contents Information" permission everywhere in the path (esp. at 'edit')? But this is clearly fixable by giving the right permissions. I'm even getting the unauthorized error if I'm loggeg in as admin... what does the traceback say?
Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module App.special_dtml, line 174, in _exec Module DocumentTemplate.DT_With, line 61, in render Module DocumentTemplate.DT_Util, line 201, in eval - __traceback_info__: wusch Module <string>, line 0, in ? Module OFS.Traversable, line 168, in restrictedTraverse Module OFS.Traversable, line 140, in unrestrictedTraverse - __traceback_info__: ([], 'Terminhinweisverwaltung') Unauthorized: You are not allowed to access Terminhinweisverwaltung in this context MfG Steffen -- Zu sagen 'Hier herrscht Freiheit' ist immer ein Irrtum oder auch eine Lüge -- Freiheit herrscht nicht (Erich Fried)
Steffen Hausmann wrote:
Module OFS.Traversable, line 140, in unrestrictedTraverse - __traceback_info__: ([], 'Terminhinweisverwaltung') Unauthorized: You are not allowed to access Terminhinweisverwaltung in this context
Sounds like Shane's VerboseSecurity product may give you more info: http://hathaway.freezope.org/Software/VerboseSecurity cheers, Chris
Steffen Hausmann wrote at 2003-6-16 18:36 +0200:
... Module OFS.Traversable, line 140, in unrestrictedTraverse - __traceback_info__: ([], 'Terminhinweisverwaltung') Unauthorized: You are not allowed to access Terminhinweisverwaltung in this context
Shane's "VerboseSecurity" product might help you... Dieter
participants (4)
-
Chris Withers -
Dieter Maurer -
Oliver Bleutgen -
Steffen Hausmann