[Zope] adding instance w/o management access

Timothy Wilson wilson@visi.com
Tue, 11 Jan 2000 11:38:01 -0600 (CST)


On Tue, 11 Jan 2000, Michel Pelletier wrote:

> Give your factory method a 'proxy role' of manager.  This way, someone
> with non-manager privledges can do things like add instances only if
> they call your method the way you want them to.

What I ended up doing is to set the permissions on my factory so that 'Use
factories' is mapped to 'Add News Articles' (my ZClass). That seemed to
work. Is this a bad solution?

-Tim
--
Timothy Wilson       | "The faster you  |  Check out:
Henry Sibley H.S.    |  go, the shorter | http://slashdot.org/
W. St. Paul, MN, USA |  you are."       | http://linux.com/
wilson@visi.com      |       -Einstein  | http://www.mn-linux.org/