gristlabs_grist-core/stubs/app/server/lib
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
..
create.ts (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
logins.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
LoginSession.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
StandaloneExtras.ts (core) move home server into core 2020-07-21 20:39:10 -04:00