Forums / Developer / List all users who can edit?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

List all users who can edit?

Author Message

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