gristlabs_grist-core/app
Paul Fitzpatrick 3b3ae87ade (core) implement a safe mode for opening documents with rule problems
Summary:
Adds an "enter safe mode" option and explanation in modal that appears when a document fails to load, if user is owner. If "enter safe mode" is selected, document is reloaded on server in a special mode. Currently, the only difference is that if the acl rules fail to load, they are replaced with a fallback that grants full access to owners and no access to anyone else. An extra tag is shown to mark the document as safe mode, with an "x" for cancelling safe mode.

There are other ways a document could fail to load than just acl rules, so this is just a start.

Test Plan: added test

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2686
2020-12-14 13:04:13 -05:00
..
client (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
common (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
gen-server (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
plugin (core) hide long sequences of unchanged rows in diffs 2020-11-19 18:19:54 -05:00
server (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00