[Zope] problem with dynamic dtml-with

Steffen Hausmann steffen@hausmann-family.de
Mon, 16 Jun 2003 18:36:55 +0200

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)