How to allow all end users to view Contacts that are Active or Non-Active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 09:21 AM
The BR 'user query' prevents users that are not an "admin" or "user_admin" from viewing CSM Contacts that are Non-Active.
The condition is: gs.getSession().isInteractive() && !(gs.hasRole("admin") || gs.hasRole("user_admin"))
How can we allow users that are not an "admin" or "user_admin" to be able to view Contacts that are Non-Active, but still disallow them to view regular Non-Active Users.
Specifically:
Allow all end users to view Non-active Contacts (Class = Contact)
Disallow all end users to view non-active Users (Class = Users)
If I update BR 'user query' > with a filter Condition on When to run:
Class is User
This allows all end users to see Contacts that are Active & Non-Active (this is wanted)
but it also allows all end users to see all Users that are Active & Non-Active (this is Not wanted)
Any help would be greatly appreciated.
Thank you,
Susan