Edit access on a field for only particular role

GTSNOW
Giga Guru

Hi,

I have created a Check Box field in incident form. I want that field to be made true or false only by the incident manager role I created. Please help.

1 ACCEPTED SOLUTION

try script option



if(gs.hasRole('rolename'))


{


answer=true;


}


View solution in original post

10 REPLIES 10

Govind Kumar S1
Kilo Guru

Hi Gaurav,



you need to create an ACL ..


right click on field -> configure dictionary .


go to Access Control related list. create an ACL with operation write. and in required role provide your incident manager role.



This will fulfill your requirement. take a look at demo instance . demo019.service-now.com/login.do .i have created a role "govind". field on incident table "govind test" and a user " govind sharma" .only govind sharma with role govind can make field true or false. for others it is read only field.



Thanks & Regards


Govind Kumar Sharma


Govind Kumar S1
Kilo Guru

Hi Gaurav,



Please try it and let me know .



Thanks & Regards


Govind Kumar Sharma


I have actually made the ACL. Please below SS, I have given Incident_ manager role..but the id which i am using is not able to check box the box. This id has that role in it. is it something conflicting. Please help.


Capture.JPG.


Capture.JPG