Trying field level ACL, but fields in section is not visible

Community Alums
Not applicable

When, I'm trying the field level acl, but the fields in section are not visible.

Please me out on this.

 

Thanks & Regards
Utsav

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Utsav JAISWAL Will it be possible for you to share the screenshot of the ACL.

Mallidi Suma
Tera Guru

Hi @Utsav JAISWAL ,

 

Field-level ACLs have the highest precedence when we compare them with table-level ACLs. If it is not working as expected, Maybe it's because of the below reasons

1. Multiple Acl's defined at the field level and table level.

2. Because of Admin Overrides(if you are checking it as admin).

3. ACl's Defined in Parent Table which will be extended by Child Table.

 

Please provide more information so that I can debug it deeply.

 

If you want to know more about ACL then go through the below links

 

https://www.servicenow.com/community/itsm-articles/access-control-lists-in-servicenow/ta-p/2304210#:....

 

https://docs.servicenow.com/en-US/bundle/utah-platform-security/page/administer/contextual-security/...

 

Please mark my solution as helpful, if it resolves your query!!

Amit Gujarathi
Giga Sage
Giga Sage

Hi @Utsav JAISWAL ,
I trust you are doing great.

To start with, field level ACLs control access to fields in a table. If the fields in a section are not visible, it could be due to the fact that the section is not linked to the table or that the ACL is not set up correctly.

To check if the section is linked to the table, you can go to the form layout and check if the section is present. If it's not present, you will need to add the section to the form layout.

If the section is present but the fields are not visible, you will need to check the ACL for the table. To do this, go to the Access Control module and search for the table in question. Once you have found the table, you can create a new ACL or modify an existing one.
You can try below configurations :

   "name": "Example ACL",
   "description": "Example ACL for the table",
   "affects": "write",
   "condition": "current.sys_updated_by != gs.getUserID()",
   "roles": "admin",
   "requires": "ui_policy:my_policy",
   "script": "answer = true;"

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Simon Ohle 1
Tera Contributor

For anyone looking in this thread: 

I had the same problem, and I just realized, I was in a scoped application and had to change to the Global Application to create ACLs.