Access Control for Custom Table and Role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:04 AM
Hello Developer,
I am working with ACL for Custom table and Roles.
I have created Custom Table naming u_ghd. And also created 3 different users, i.e.. Requestor, Fulfiller, Manager having custom role x_requestor, x_fulfiller, x_manager respectively.
Now help me to create an ACL for this role where Requestor having Create and Read access, Fulfiller having Create,Read and Write, and Manager only have Delete access.
Thank You,
Mayur Patil
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:10 AM - edited 09-23-2024 03:11 AM
Hi @Mayur Patil2 ,
For your custom table there wiil be ACLs already created by system for Read, Write, Create & Delete (Check by opening the the table record).
You can edit those acl's by elevating your role to security admin, add the user role condition to the required ACLs that will help you.
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Mayur Shardul
ServiceNow Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:13 AM
Hi @Mayur2109 ,
Thanks for your quick response. I have checked the OOTB created ACL for my custom table and updated these ACL with custom roles. But When I am trying to Impersonate with Requestor user the he don't have create or write access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 03:21 AM
Below are the screenshot.