Setting permission when installing a ZClass product
Hello, I've made a ZClass product, with some permissions. When you add the product the permissions are there but without any default setup for the roles. Is there a way to have a 'setup' method when installing a Zclass product (i know i can do that with a method by hand, but i want to avoid ask the product user to do it). Any idea about doing that the smart way ? Thanks.
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Didier Georgieff
Is there a way to have a 'setup' method when installing a Zclass product (i know i can do that with a method by hand, but i want to avoid ask the product user to do it).
in your product there is a "manageAdd" method. In that, where the comments says so, you should put the dtml needed to set the permissions. Try the API reference for permission methods. regards Max M Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Shipping software is an unnatural act
participants (2)
-
Didier Georgieff -
Max M