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

Weird
Mega Sage

Can't you flip that around? Make all fields read only if the condition is filled and add 7 ACL to add write access when the condition is filled.

-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.

Thank you.

Its working.

You're most welcome and am glad that it is working.