-----Original Message----- From: reedstrm@wallace.ece.rice.edu [mailto:reedstrm@wallace.ece.rice.edu] Sent: Tuesday, May 18, 1999 1:44 PM To: zope@zope.org Subject: [Zope] permissions
Hey you guys: Which of the permissions to I need to give a Role for this case:
You are not authorized to access manage_renameObject.
It looks like I need the "View Management Screens" permission here, right?
Yep. Everything that starts with manage_ needs that permission, not by convention, there is hard coding going on.
If so, that's poorly factored. I can give a Role permission to Add things, but once it's there, they can't fix it. I suppose it's because you don't want the Role to be able to change existing objects, just one's they've added. So, another thing that'll come with Ownership as well, I guess.
Yes, Owners will be given the change things like this in the context of their local roles (what they own). I agree that it would be nice to have factored this out into something you could use other than manager. It is possible for you to mimic the function in an external method, look at it's definition in lib/python/OFS/CopySupport.py 'round line 235. -Michel
Ross
-- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )