RE: [Zope] adding instance w/o management access
-----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
On Tue, 11 Jan 2000, Michel Pelletier wrote:
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.
I thought that the permission mapping I did applied only to that particular factory. You're saying that it's global? If so, then my solution is not the best. BTW, I'm looking all around, but I can't find the screen to set proxy roles. -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/
participants (2)
-
Michel Pelletier -
Timothy Wilson