[Zope] adding instance w/o management access

Michel Pelletier michel@digicool.com
Tue, 11 Jan 2000 11:44:29 -0500


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.

-Michel

> -----Original Message-----
> From: Timothy Wilson [mailto:wilson@visi.com]
> Sent: Monday, January 10, 2000 9:12 PM
> To: Zope listserv
> Subject: [Zope] adding instance w/o management access
> 
> 
> Hi everyone,
> 
> I've got a certain role assigned to people who I want to be 
> able to create
> an instance of a ZClass. I don't want them to have access to the
> management screen however. I'm having trouble figuring out what
> combination of permissions will do it. Does anyone have a suggestion?
> Currently I have a link that points to the 'NewsArticle_factory' for
> creating instances of my News ZClass. I'm not even sure if that's the
> proper way to do it. I do know that everything works 
> perfectly if you have
> the Manager role.
> 
> -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/
> 
> 
> _______________________________________________
> 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 )
>