The CreatorCon Call for Content is officially open! Get started here.

Issue with ACL Conditions

sainath3
Mega Guru

Hi Team,

 

Requirement:

In one table there are 45 fields are available, So based on one condition make Read-only for 38 fields in the list view.

 

I have informed customer that it needs to create 38 ACL, I said it might cause to performance issue, but they are asking to find better solution.

 

Could you please suggest me better solution.

 

Note: Only list view

 

1 ACCEPTED SOLUTION

-O-
Kilo Patron

Try phrasing it in terms of when fields can be written; you might end up with one <table>.* ACL and 7 <table>.field ACLs.

I mean the way ACLs work they grant access and don't revoke it - make fields read-only sounds like that: revoking access, so it is counter-intuitive.

View solution in original post

5 REPLIES 5

Muhammad Mairaj
Tera Contributor

Hi,
I am sure What you need to do is to have seven "Write" Operation ACL on your required Table one on the writable Fields and one "read" ACL for all fields Table.* additionally you can also go with List_edit ACL please see in the image. I recommend you to debug ACLs by navigating to 'Debug security rules' module. Hope this helps.

Regards,