Hi, Conditions for hiding UI actions from End users

kurella swamy
Tera Contributor

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

18 REPLIES 18

Kieran Anson
Kilo Patron

Adding a role into the inline list "requires roles" is an option. Or calling gs.hasRole('role_name') in the condition field.

Another option is calling current.canWrite() to see if they have write access to the record. This'll depend on whether the end-user only has view only access or not

How can I define end user like gs.hasRole('role_name'). Here what role I need to give in the place of 'role_name'?

 

Thanks for prompt response 

@kurella swamy 

 

Who are the end users in your case?

Hi @Ravi Peddineni  User who don't have any role in the system