Read only Protection Policy ACL

Community Alums
Not applicable

I have an ACL which protection Policy is "read only", so which role is required to edit/delete this ACL.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Narendra Kumar ,

You will need to check the ACLs written on table with "read" Operation , open the required ACL and check the Roles mentioned there.

Also, you can try below:

Please do write the fix script with below mentioned script and run the same, it should work 🙂

var gr = new GlideRecord('sys_script_include');
if (gr.get('add sys id of script include')) {
    gr.sys_policy = ''; //remove protection
    gr.update();
gr.deleteRecord(); --> add this line if you want to delete the record else you can set the value as empty



Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

4 REPLIES 4

Yousaf
Giga Sage

Hi Narendra,

Updating 'read-only' policy in files

 

Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***

Community Alums
Not applicable

Hi @Narendra Kumar ,

You will need to check the ACLs written on table with "read" Operation , open the required ACL and check the Roles mentioned there.

Also, you can try below:

Please do write the fix script with below mentioned script and run the same, it should work 🙂

var gr = new GlideRecord('sys_script_include');
if (gr.get('add sys id of script include')) {
    gr.sys_policy = ''; //remove protection
    gr.update();
gr.deleteRecord(); --> add this line if you want to delete the record else you can set the value as empty



Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Community Alums
Not applicable

Hi @Narendra Kumar ,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep