- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 09:04 AM
Hi All,
We have UI Action called "confirm" to be visible users having problem_coordinator. Please find attached screenshot, but here users who are not having this role were able to see button.
How can I find the issue why users without this role were also to see the button.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 09:21 AM
Hi @Sattimsetti raj ,
Please add anyone of condition in UI action condition:
gs.getUser().getRoles().indexOf('problem_coordinator') >= 0
(or)
gs.hasRole('problem_coordinator');
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 09:21 AM
Hi @Sattimsetti raj ,
Please add anyone of condition in UI action condition:
gs.getUser().getRoles().indexOf('problem_coordinator') >= 0
(or)
gs.hasRole('problem_coordinator');
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda