[Zope] Folder renaming

Philippe Jadin philippe@123piano.com
Wed, 12 Sep 2001 14:36:00 +0200


> The thing I´ve tried is with
>  manage_renameObject(id=old_id, new_id=new_id)
> But then only the Manager can change the folder name.The 'moderator' gets
> you are not alowed to acces manage_renameObject.

If the manager can do it, the moderator (I guess a custom role you
created) can do it too with little security changes.

>  I just cant figure out which security to turn on/off for my moderators to
> get them able to change the folder ID.

Pure guess, but imho it should be the "manager" permission. I didn't
found precise docs about it (look at the sources:-)

You can also use a proxy role (manger in this case) on the particular
method that rename folders, but then any user will be able to rename
folders.

Imho it would be better to give more permissions to the moderator role
only in the context of the folders that can be renamed...
 
hth

Philippe