Forums / Developer / List all users who can edit?
Mikael Johansson
Thursday 14 July 2005 5:27:11 am
How do I list all users that have permissions to edit a certain object?
One solution would of course be to loop through all users and check the can_edit property, but that would be wasteful.
A general solution would be preferrable, but I know the ID of the role that makes it possible for the user to edit the object, so maybe I can use that? I also know that the role is assigned by limitation to subtree.
Thanks in advance
Mikael Johansson, Sweden