How to give permissions for a particular group menbers on a table to create new records

Nag9
Tera Expert

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

?

 

 

1 ACCEPTED SOLUTION

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;
	}

 

View solution in original post

11 REPLIES 11

Hi Nag,

So for what type of user it is not working and when it is working

Did you create a group and added those 5 users to that?

also did you give the group name correctly in that script?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Everything i did correct only, for admin also that new button is showing