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-11-18 08:58:03 -05:00
2020-11-04 16:45:47 -05:00
2020-09-19 20:45:33 -04:00
2020-11-12 10:55:15 -05:00
2020-12-15 09:43:37 -05:00
2020-07-21 20:39:10 -04:00
2020-09-14 18:05:27 -04:00
2020-12-11 15:15:35 -05:00
2020-12-11 15:15:35 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-12-11 15:15:35 -05:00
2020-07-21 20:39:10 -04:00
2020-12-14 13:04:13 -05:00
2020-11-30 16:28:33 -05:00
2020-12-14 13:04:13 -05:00
2020-07-21 20:39:10 -04:00
2020-09-02 14:46:15 -04:00
2020-12-07 16:59:28 -05:00
2020-11-10 08:12:31 -05:00
2020-11-11 19:21:40 -05:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-12-15 09:43:37 -05:00
2020-11-02 15:46:46 -05:00
2020-11-04 16:45:47 -05:00
2020-07-21 20:39:10 -04:00
2020-11-10 08:12:31 -05:00
2020-07-23 11:26:16 -04:00
2020-07-21 20:39:10 -04:00
2020-11-02 15:46:46 -05:00
2020-12-15 09:43:37 -05:00
2020-07-21 20:39:10 -04:00
2020-11-02 15:46:46 -05:00
2020-07-21 20:39:10 -04:00
2020-09-18 16:31:29 -04:00
2020-10-30 13:52:46 -04:00
2020-11-10 08:12:31 -05:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2020-12-14 13:04:13 -05:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-23 11:29:05 -04:00
2020-07-21 20:39:10 -04:00
2020-10-02 13:24:21 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-28 13:59:13 -04:00
2020-07-21 20:39:10 -04:00
2020-07-29 08:57:25 -04:00
2020-07-21 20:39:10 -04:00
2020-07-23 11:29:05 -04:00
2020-07-22 14:45:42 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-19 12:44:03 -04:00
2020-12-07 14:48:41 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-12-11 15:15:35 -05:00
2020-12-15 09:43:37 -05:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-30 13:52:46 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2020-10-08 14:19:25 -04:00
2020-07-21 20:39:10 -04:00