List edit ACL not working

kuttti
Kilo Guru

Hello Team,

I have a created a list_edit acl for some 'ABC' table, with ABC.*, role-snc_internal. So when I impersonate a user with snc_internal still it says that "Security constraints prevents from editing". Any help is greatly appreciated.

 

Thanks!

1 ACCEPTED SOLUTION

Hey @kuttti ,

Please follow below steps:

You will need to create 3 list edit ACLs for this requirement:

  1. Create an ACL for the table using "SCTASKs.none" with no restriction
  2. Create an ACL for all fields in the table using "SCTASKs .*" with Advanced checkbox as true and in the script write -  answer = false;
  3. Create an allow ACL for the field you want to be editable using "SCTASKs.Assigned to"

I am using sctask table as a basis, you can do the same for your requirement.

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

View solution in original post

9 REPLIES 9

Hey @kuttti 

Didn't hear back on this.

Is your issue resolved? If yes, feel free to mark helpful/correct, so it will be helpful for others looking for similar query.

 

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you will have to ensure field level WRITE ACL is allowed to edit the particular field

Regards
Ankur

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

Hi @Ankur Bawiskar I am confused can you please elaborate. All I am trying to do is give  a particular users of a group list edit access to a one field.

 

Thanks!

Hi,

then those users should pass table level write and then field level WRITE will be executed

if field level write allows but table level write blocks then they cannot edit that field

Access control list rules

Regards
Ankur

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

@kutti 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

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