ACL write Access only for particular field?

Kruthik M Shiva
Tera Contributor

I have created a custom checkbox in test table and also added ACL for that field but only the sn_vulc_write role access to it but still i was not able to edit the checkbox i was getting security constraint error message, Then I have edited table level ACL where I changed role from Nobody to sn_vulc_write but now I am having issue like all the fields or editable but I required only the custom field to be editable. What could be the possible issue and how can I achieve this.

Thanks in advance,

12 REPLIES 12

Aman Kumar S
Kilo Patron

For this, you need to have read and write row acl, and one specific write acl for the checkbox field and add your role in it. That should do the trick for you.

 

Let me know, if it works

Best Regards
Aman Kumar

I have created specific ACL for that field but the issue I am facing that even after creating that specific ACL field was not editable so then i gave table level access by giving role in table level ACL but now all the fields are editable along with this . I want only this field to be editable others should be read only.

This is very close to your use case, please have a look:
https://community.servicenow.com/community?id=community_question&sys_id=79d9cfe5db5cdbc01dcaf3231f9619c7

Best Regards
Aman Kumar

As mentioned once i created the field only i have created field level write ACL, Still i was not able to edit that time so i gave table level access by giving roles in the table level ACL after that all fields I am able to edit. now what need to be changed because read role was there before only but only write i was not able once i gave role all fields are editable but it should be only that field to be editable.

PFA screenshot for reference.

Ravi9
ServiceNow Employee
ServiceNow Employee

acl debugging is pretty quick if you use the oob securty debugger. did you try that ?