Dmitry S
de35be6b0a
(core) Checks that an ACL formula can be parsed, and prevent saving unparsable ACL rules.
...
Summary:
- Fix error-handling in bundleActions(), and wait for the full bundle to complete.
(The omissions here were making it impossibly to react to errors from inside bundleActions())
- Catch problematic rules early enough to undo them, by trying out ruleCollection.update()
on updated rules before the updates are applied.
- Added checkAclFormula() call to DocComm that checks parsing and compiling
formula, and reports errors.
- In UI, prevent saving if any aclFormulas are invalid, or while waiting for the to get checked.
- Also fixed some lint errors
Test Plan: Added a test case of error reporting in ACL formulas.
Reviewers: paulfitz
Reviewed By: paulfitz
Differential Revision: https://phab.getgrist.com/D2689
2020-12-15 09:43:37 -05:00
..
2020-09-12 00:21:29 -04:00
2020-07-29 08:57:25 -04:00
2020-11-18 08:58:03 -05:00
2020-11-12 09:35:08 -05:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-09-15 15:24:41 -04:00
2020-07-29 08:57:25 -04:00
2020-12-03 14:10:26 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-11-12 09:35:08 -05:00
2020-11-12 09:35:08 -05:00
2020-07-30 23:18:19 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-12-15 09:43:37 -05:00
2020-07-29 08:57:25 -04:00
2020-11-18 08:58:03 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-12-10 09:09:45 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-11-18 08:58:03 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-11-18 08:58:03 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-09-15 15:24:41 -04:00
2020-09-10 18:06:06 -04:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-09-14 16:17:12 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-08-21 18:33:28 -04:00
2020-11-26 22:29:37 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-12-10 09:09:45 -05:00
2020-11-12 09:35:08 -05:00
2020-07-29 08:57:25 -04:00
2020-12-10 09:09:45 -05:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-07-29 08:57:25 -04:00
2020-11-18 08:58:03 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00