Hide Anonymous and Administrator user from user list

Hi all!

I have a question:

I would like to provide a user for the client like client_admin and keep the administrator built in user for myself. I can deny everything by roles for the client_admin, but I would like to even hide the Administrator user for users with client_admin role. Or basicly for everyone. Is it possible? I would like to hide the anonymious use as well.


Do you have any advice on this?



You can use Access Groups mechanism for this purpose. With access groups, users can be organized into a hierarchical structure and assigned constraints and arbitrary session attributes.

Constraints restrict user access to entity instances. Unlike the permissions which are applied to classes of entities, constraints are applied to particular entity instances that do not match the constraint conditions. Constraints can be set for creation, reading, updating and deletion.