[Zope] Permission Problem

Markus Schaber markus.schaber@student.uni-ulm.de
Tue, 30 Oct 2001 11:43:16 +0100


Dieter Maurer wrote:
> Markus Schaber writes:
>  > I wrote a small product to automatically wrap some pages with configurable templates.
>  >
>  > Now I have a little problem with defining permissions. I defined the role "mitarbeiter" in the management screens, and gave this role all permissions it needs (especially the permission for the management functions of the product).
>  >
>  > Now, I have a user "test". When assigned to the "Manager" built-in role, it can manage the objects of this product. When assigned to the "mitarbeiter" role, this account cannot manage the objects (it can view the management screens, but whenever calling a method that actually changes something, the login window pops up and asks for username and password.
> Seems to be similar to the problem of
> Bocquillon  Philippe <mailto:Philippe.Bocquillon@trasys.be>.
> Look at my reply to his problem report.

There you say that the class has to inherit from Acquisition.Implicit.

My class is defined with 
  class zawiw(SimpleItem.SimpleItem):

This is defined as:
  class SimpleItem(Item, Globals.Persistent,

So my class indirectly inherits from Acquisition.Implicit, this should
be sufficient.

Or am I wrong here?

Markus Schaber - http://www.schabi.de/

Check in to another world - test a _real_ OS.