Problem with condition in edit button

Juan18
Tera Contributor

We configure the button for the assignment group members. However, the button sometimes appears when the user does not belong to the group.

When you click the button it dissapear and the record shows the message below:

Juan18_0-1707736019877.png

How can I solve it?

4 REPLIES 4

Sonam_Tiwari
Kilo Sage

Hi @Juan18 ,

 

Actions not authorized usually indicates that the user clicking the button does not have right privileges to use it.

 

Can you go to sys_ui_action table, search for your UI action and attach a screenshot of what conditions you have given for restricting it to assignment group members.

 

 

Consider indicating the response as helpful and marking it as correct if it meets your needs.

Juan18
Tera Contributor

This is the condition:

Juan18_0-1707738281246.png

 

When it is appearing for the users who do not belong to the assignment group, have you also already checked that they do not satisfy the other || (OR) condition which says, allow them to see if they have 'sn_hr_core.admin' role?

 

 

Consider indicating the response as helpful and marking it as correct if it meets your needs.

the user doesn`t have sn_hr_core.admin role