manage ui actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 04:35 AM
i was using the demand table fields to manage states
recently i got a requirement like :-
1.if the user have "employe_manager" role and "employee_admin" these both role users can view the the ui actions in classic/native screen.
2.if user has a "employee_admin" role then only he can able to view the ui actions on workspace. no other roles can see buttons on workspace.
is their any possible ways to achive this requirement.
note: we are using same buttons on both native and workspace. those buttons are created in native screen only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 04:53 AM
Hi @VSN ,
Open the UI action you want the restriction and change the condition to "!gs.hasRole('role_name')" to restrict this Ui action from users with employee_admin role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 06:33 AM
@Community Alums your solution is not related to my requirement.
in simply my ask is ui action can visible for 2 role users in in native but in workspace only for one role users