Write ACL evaluating as false

logan2
Mega Contributor

There is a field on a form that is only supposed to allow edit IF the choice box value is a certain value. I wrote in the conditions to allow this to happen, as it sounds fairly simple. The ACL evaluated as false.

So I removed the conditions and just added a script for "answer = true;" and it is still evaluating to false. If I set the ACL to inactive, I can edit the field. But if I set it to active with the hardcoded true it does not allow edit. There are no roles associated with this ACL.

Any ideas would be greatly appreciated. This is the change_task table, which inherits the task table if that is of any help.

Thanks

1 ACCEPTED SOLUTION

Deepak Ingale1
Mega Sage

I don't see a reason that it is getting evaluated to false since all your three conditions ( Condition filter, script and role) are evaluated to true, so ACL should be true


Providing screenshot of ACL and Debug Security operations will help to comment further


View solution in original post

11 REPLIES 11

Deepak Ingale1
Mega Sage

I don't see a reason that it is getting evaluated to false since all your three conditions ( Condition filter, script and role) are evaluated to true, so ACL should be true


Providing screenshot of ACL and Debug Security operations will help to comment further


Actually it appears that the field isnt editable even without the ACL, as I accidentally previously mentioned. Before to show it I created a table level ACL to write with true and a row level to write with false but there were still too many editable fields other than the one I just want to show.



Here is the ACL in question:



acl.png



Here is with the ACL:


with_acl.png



And here is without the ACL:


without_acl.png


If that is the case, then definitely it not ACL problem since problem persists even if you disable the ACL.


Try to check for UI policy / Client Scripts which might be causing this problem and making the field read only.


Only one ui policy action in the sys_ui_policy_action table references that field. I set th read only to false and it still wont show the field. There are no client scripts that reference "implementation."