- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2019 04:14 AM
I have a table titled as "service request', Now irreescpective of all the users have persmission to create new records.
Query: i have group titled as 'Requested members' in that 5 group members are available, for that 5 members only have permissons to create records on that table.
How can we acheive this
?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 02:03 AM
Hi Nag,
Create an ACL for create and Write and put this code there, that shoudl work.
In the script, put the code like below
if(gs.getUser().isMemberOf("your group NAME")){
answer = true;
gs.log(gs.getUser().isMemberOf("your group NAME"),"acl working now");
}else
{
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 05:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 05:25 AM
okay
Also, do create a write aCL as well in similar way. but have table and * combination.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 07:36 AM
You need to check as an user from the given group and then check logs. you will know whether that acl is executing or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 02:29 AM
Hi Nag,
As suggested in my previous comment have a group create and assign those 5 users to that group;
the reason omit new condition role won't work is admin gets all role by default so use below approach
have a table.none create ACL and since you also want admin not to have new button then do this
Admin overrides checkbox should be unchecked
screenshot below; select your table there
Now when one of that 5 user logs in; the ismember of condition will be true and new button will be shown
when admin logs in the else if will be true and false would be returned and new button will be hidden
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 05:17 AM