[Zope] ZClass and Add/Permission

Andreas Pakulat ap125@informatik.uni-rostock.de
Fri, 27 Jun 2003 12:40:57 +0200


I've got a Problem here with 2 ZClasses I created. The first one -
SemsesterClass is derived from ObjectManager, to allow me to put
instances of the second - LectureClass - into it. I want to do this with
the following code in LectureClass_add:


But for this I have to be in a manager's role, even though I added the
Add Lecture Permission to the webeditor role (which will be used for the
logged in users). I reallz do not understand why I have to be a manager
to add a ZClass instance to another ZClass and this is not good for my
site either. How can I let every user from role X add Lectures to the

I'm using Zope 2.6.1 and exUserFolder for authentication (not in /, but
in the folder of my site)


You will be the victim of a bizarre joke.