why is it that an anonymous user is not granted access to the ZClasses in product management? {dumb question, I'm sure]. Also, if I want an anonymous user to be able to add instances of Zclasses in a folder with code like <dtml-with "manage_addProduct['PK_MessageBoard'].PK_Posting.createInObjectManager(REQUE ST['id'], REQUEST)"> <dtml-call "propertysheets.common.manage_editProperties(REQUEST)"> </dtml-with> where I'm adding a PK_Posting from a PK_MessageBoard, what permissions do I need to set. I still fail to understand the whole permissions/define permissions dialogs....
to sum up, anonymous users can't do this: manage_addProduct['SomePorduct'].SomeZClass alternatives? -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Patrick Stinson Sent: Wednesday, December 04, 2002 6:57 AM To: zope Subject: [Zope] ZClass permissions why is it that an anonymous user is not granted access to the ZClasses in product management? {dumb question, I'm sure]. Also, if I want an anonymous user to be able to add instances of Zclasses in a folder with code like <dtml-with "manage_addProduct['PK_MessageBoard'].PK_Posting.createInObjectManager(REQUE ST['id'], REQUEST)"> <dtml-call "propertysheets.common.manage_editProperties(REQUEST)"> </dtml-with> where I'm adding a PK_Posting from a PK_MessageBoard, what permissions do I need to set. I still fail to understand the whole permissions/define permissions dialogs.... _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Patrick Stinson writes:
why is it that an anonymous user is not granted access to the ZClasses in product management? {dumb question, I'm sure]. Did you allow it?
By default, a new permission is defined that protects your ZClass. You find it in your product with a name derived from "permission" and the name of your ZClass. By default, the new permission is granted only to "Manager". You can change this in the "Security" tab of the folder or object, you want it to be changed. In the root object when you want to change it globally. ZClass permissions are highly customizable. You do this in the "Permission mapping" tab. It is not easy to understand. Read the relevant chapter in the Zope Book carefully. Dieter
participants (2)
-
Dieter Maurer -
Patrick Stinson