Hi, Conditions for hiding UI actions from End users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 06:56 AM
Hello Everyone,
I'm looking for guidance on configuring UI actions so that the UI actions should not visible for end users or users without any roles. What are the required conditions to ensure that UI action are hidden from end users?
Thanks in advance
- Labels:
-
Architect
- 942 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:11 AM
Use this condition:
gs.hasRole('business_stakeholder') || gs.hasRole('itil') || gs.hasRole('admin')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:16 AM
@Ravi Peddineni Thanks for you support. I don't want to add all of these conditions But I want to write like (!gs.hasRole("role_name") here I unable to define the role of end user in the place of "role_name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:28 AM
Is there any technical restriction in using all the conditions?
Also, end users should have a defined User Criteria. You should get that criteria in order to know the roles given to END USERS. Then you can mention those roles in the condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:30 AM
There is no restriction just to check whether is it is possible to write like this or not.