The interfaces definition from the plugins directory defines:
def doAssignRoleToPrincipal( principal_id, role ):
However, it doesn't document any way to remove a role from a principal.
Should there be a doRemoveRoleFromPrincipal( principal_id ) method for
zodbrolemanager provides a removeRoleFromPrincipal method which does
this, and could be wired up in the same way as doAssignRoleToPrincipal
Can I provide a patch to add it into the definition, and to zodbrolemanager?
Zope-PAS mailing list