- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 02:26 AM
Hi Experts,
I have created a M2M table and the edit button is created automatically , but that edit button is visible only by admin we need that itil role shoud also able to view the same how to do that.
Luso
Solved! Go to Solution.
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 06:26 AM
Hi @Lusifer1984
So let's define set of ACLs for the m2m table, including Read, Write, Create & Delete .
Enjoy the result.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 02:36 AM - edited 10-30-2023 02:37 AM
Good morning Lusier,
In this case have you tried using a business function or user criteria?
I believe that if you use one of these, creating a function that limits field visibility only to authorized people, your problem will be solved.
But in this case, I believe you will have to develop a specific script for this.
I hope this helps or directs you to a possible solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 02:59 AM
From where I will get this Business function or user criteria ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:07 AM
The best way to understand both is by consulting servicenow's technical documentation.
Follow the links below:
Business Rules:
https://docs.servicenow.com/en-US/bundle/vancouver-api-reference/page/script/business-rules/concept/...
User Criteria:
https://docs.servicenow.com/en-US/bundle/vancouver-employee-service-management/page/product/wsd-rese...
First read the documentation for a better understanding, see if it meets the requirements you want.
Generally, access control in servicenow is done via user criteria, business rules and others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:18 AM - edited 10-30-2023 03:22 AM
Hi @Lusifer1984
Where is the Edit button located?
If it is under Related List, you can configure List Control to manage the visibility of the button.
Sample below.
Uncheck Omit edit button.
Configure list controls
Also make sure the ACLs works correctly for the user role you're checking on.
Cheers,
Tai Vu