[Zope] List All users with a given permission

Stuart 'Zen' Bishop zen@cs.rmit.edu.au
Thu, 21 Oct 1999 10:21:08 +1000 (EST)


On Wed, 20 Oct 1999, Michael Bernstein wrote:

> I could be off-base here, but maybe what you need is a 'change_job' role? then
> you can test for all people who have a certain role.

I think I can already retrieve a list of roles with the required permission
(rolesOfPermission does this for me). The trick then is obtaining a list of 
users with a given role which I can't see how to do.

 ___
   //     Zen (alias Stuart Bishop)     Work: zen@cs.rmit.edu.au
  // E N  Senior Systems Alchemist      Play: zen@shangri-la.dropbear.id.au
 //__     Computer Science, RMIT 	 WWW: http://www.cs.rmit.edu.au/~zen