On Wednesday 18 Sep 2002 4:00 am, John K. Hohm wrote:
I am using Zope 2.5.1, and writing a product with a folderish class. I want to be able to prevent acquiring a permission from one role, while still acquiring it from another role (if the user gets that role locally).
I suppose it could work by preventing the user from acquiring a role; is there already some sensible way of doing that?
It sound like you are trying to abuse a standard permission. Is the problem something like: your folderish product uses properties to control its behaviour, but you dont want to let some users control properties of all sub-objects? Perhaps a better way would be to define a new permission, call it "Change MyFolderishThing Properies", and leave the permission acquisition system to work as normal.