11 Jan
2000
11 Jan
'00
5:53 p.m.
-----Original Message----- From: Timothy Wilson [mailto:wilson@visi.com] Sent: Tuesday, January 11, 2000 12:38 PM To: Michel Pelletier Cc: Zope listserv Subject: RE: [Zope] adding instance w/o management access
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?
Nope, keep in mind that whomever can add news articles can use *any* factory. -Michel