manage ui actions

VSN
Tera Expert

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.

2 REPLIES 2

Community Alums
Not applicable

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.

 

@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