"Roch�" == Roch� Compaan <roche@upfrontsystems.co.za> writes: Roch�> Yes, all classes subclassing RoleManager has a Roch�> manage_permission method that can be used to change Roch�> permissions. You could for instance put the following in Roch�> manage_afterAdd of your class to give only Manager and Roch�> Administrator the 'View' permission and prevent this Roch�> permission from being acquired:
Well, that is the most helpful thing I have learned in days, and not just for this problem! I have been suffering from the fact that self in the __init__ function has not been wrapped by the acquisition wrapper, and have used all kinds of hacks in my code to deal with this. manage_afterAdd fixes them all. Thanks for your help, John Hunter