gristlabs_grist-core/app/client/ui2018
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
..
breadcrumbs.ts (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
buttonSelect.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
checkbox.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
cssVars.ts (core) support ?embed=true and &style=light for a clean embed experience 2020-08-14 13:34:38 -04:00
draggableList.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
editableLabel.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
IconList.ts (core) Enhancements to the Public Access UI. 2020-09-23 18:54:23 -04:00
icons.ts Initial config with a few files that build on client and server side. 2020-05-20 00:50:46 -04:00
links.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
loaders.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
menus.ts (core) Improve snapshot listing, and add compare snapshot links 2020-12-09 16:48:19 -05:00
modals.ts (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
pages.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
search.ts (core) move client code to core 2020-10-02 13:24:21 -04:00