write access to impact and urgency fields only one group and that group members in incident form

Tharun13
Tera Contributor

Hi Team,

write access to impact and urgency fields only one group and that group members in incident form.

 

Regards,

Tharun

1 REPLY 1

ayan_murshad
Tera Guru

Hi @Tharun13 ,

Create an ACL for Write and put this code there, that should 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;
	}

 Regards,

Ayan Murshad