Problem with condition in edit button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:07 AM
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:
How can I solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:32 AM - edited 02-12-2024 03:33 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:44 AM
This is the condition:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:48 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:58 AM
the user doesn`t have sn_hr_core.admin role