Make multiple fields Editable via a Single ACL in the listEdit

Ketan Mittal
Tera Contributor

I need to make a few fields editable in the list view (20 something), the simple way would be to create 20 ACLs on the table however, that is a tedious process and puts a lot of load onto the table.

Is there some other way I can use to achieve this only by one ACL ? or some other thing.

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @Ketan Mittal 

the final solution depends on the number of all fields the underlying table has. If your table has less than 2 * 20 = 40 fields (real content fields & not any system fields!), then it is easier to define a *-ACL with editable = true and additional explicit field level ACLs with editable = false.

As an example, let's assume your table has 25 fields. Then define one *-ACL to make all fields editable in the list view, and 5 explicit ACLs for the 5 fields which shouldn't be editable.

Maik

I get your point but the table has too many fields. Basically, I am trying to do this for demand table, that obviously has way too many entries. 
It doesn't feel suitable to me to create 20 ACL for the 20 fields I am trying to make editable in the list view just for that, and temper with the other 180 something (other fields).

I was thinking to create a property and define all the fields in it and fetch it in the script, by doing a *.ACL but doubt if it would work, the moment I apply *.acl.