[Zope] Re: How can I get all roles defined

Tres Seaver tseaver at palladion.com
Thu Mar 22 19:58:40 EDT 2007


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

Josh Burvill wrote:
> Hi everyone,
> 
> I need to get all the roles that are defined in the security tab of a
> particular folder.
> 
> I know how to get all roles that a user has got, but cannot find the above.
> 
> Thanks, Josh

AccessControl/Role.py is your friend.  The mix-in class is a RoleManager.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAxgw+gerLs4ltQ4RAvaKAJ9mp8UqlIDbbRuohTXIKAaWOCN/kgCg2DjW
AVvfKLoA21KgGkVdwONtDmg=
=BsoS
-----END PGP SIGNATURE-----



More information about the Zope mailing list