-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4 May 2007, at 05:17, Miles wrote:

Hi,

The interfaces definition from the plugins directory defines:

IRoleAssignerPlugin
    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 this?

zodbrolemanager provides a removeRoleFromPrincipal method which does this, and could be wired up in the same way as doAssignRoleToPrincipal is currently.

Can I provide a patch to add it into the definition, and to zodbrolemanager?

You're very welcome to provide any bug report or patch through the PAS collector:

http://www.zope.org/Collectors/PAS/

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGOyxJRAx5nvEhZLIRAtcLAJ9Lv/7nO2SpJpsurzS89OyUDYVAYwCdFlqO
OhG+IcKdv06ksix2AujjLac=
=qlO+
-----END PGP SIGNATURE-----
_______________________________________________
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas

Reply via email to