[Zope] add instance of ZClass as authenticated user

Dieter Maurer dieter@handshake.de
Mon, 29 Apr 2002 22:58:44 +0200


John Hunter writes:
 > I have a Product called Course which contains a ZClass called
 > ProjectSubmission (which resides in /Control_Panel/Products/Course).  I
 > want authenticated users to be able to add ProectSubmission instances.
 > ...
 > This works fine if the user has manager/owner permissions at root
 > level, but I want it to work for a user that is simply authenticated
 > at the container level.  If I try and execute the script simply as an
 > authenticated user at container level, I get the error:
 > 
 >   Error Type: AttributeError
 >   Error Value: ProjectSubmission
 > 
 > Could someone advise me on how I should can change the script and/or
 > the ProjectSubmission and Course properties and security settings so
 > that authenticated users can add PrjectSubmissions 
Did you map the "Add ProjectSubmission" permission correctly?

You may also remap the "Create class instance" permission
in the ZClass's "Define permissions" tab.


Dieter