Make multiple fields Editable via a Single ACL in the listEdit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 08:26 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 06:39 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2023 12:02 AM
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.