[Zope] New permissions
Michael Havard
nhavar@hotmail.com
Fri, 04 Apr 2003 17:04:39 +0000
My confusion comes from how some permissions are grouped. For instance if I
want an author to be able to add new folders I can't just give them add
folders permission I have to give them add folder and manage properties. The
problem is that manage properties enables access to other actions that are
outside the scope of an author i.e. changing user roles within folders and
managing syndication.
Is there another way to allow a user to add a folder without needing to give
them manage properties permissions. It would be nice to have a document
listing the permissions and EXACTLY what they do and how they interrelate if
only just for the base ZOPE and CMF products.
>From: Dylan Reinhardt <zope@dylanreinhardt.com>
>Reply-To: zope@dylanreinhardt.com
>To: Michael Havard <nhavar@hotmail.com>
>CC: zope@zope.org
>Subject: Re: [Zope] New permissions
>Date: 04 Apr 2003 08:51:48 -0800
>
>On Fri, 2003-04-04 at 07:41, Michael Havard wrote:
> > I can't seem to find an example of adding new/custom permissions to a
>Zope
> > site. Maybe there's another way.
>
>If you're saying what I think you are, you're talking about something
>that needs to be defined in the product's source code. You *could*
>always subclass/modify the code for your built-in products, but I
>wouldn't advise it without a great deal of analysis. The kinds of roles
>and considerations you describe are fairly typical for Zope and I would
>venture that the existing permissions are probably sufficient.
>
>You've got complex enough requirements here that a simple answer won't
>do. I'd suggest checking out the newest version of the documentation
>and come back to the list with any finer-grained challenges you run
>into. You may want to pay particular attention to the section on
>Security Policy Acquisition, as I suspect this may be where some of your
>answers lie.
>
>http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx
>
>HTH,
>
>Dylan
>
>
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail