[Zope-PAS] missing method in interfaces
Jens Vagelpohl
jens at dataflake.org
Fri May 4 08:51:21 EDT 2007
-----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-----
More information about the Zope-PAS
mailing list