gristlabs_grist-core/app/gen-server/lib
Dmitry S 986f469965 (core) Support "Public access" switch in the UI for docs.
Summary:
- The older "Anonymous access" option is renamed to "Public access" in the UI.
- This option was only present with GRIST_SUPPORT_ANON set.
- With GRIST_SUPPORT_ANON, the old behavior is kept: "Public access"
  option adds/removes anon@ user
- Without GRIST_SUPPORT_ANON (normal case), orgs/workspaces don't support
  "Public access" option. For documents, it adds/removes everyone@ user.

The latter is the main feature of interest. The GRIST_SUPPORT_ANON flag
is set for on-premise installs, and adds discoverability by anon users.

Test Plan: Added a test cases and checks in other tests.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2612
2020-09-18 19:14:33 -04:00
..
DocApiForwarder.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
DocWorkerMap.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
HomeDBManager.ts (core) Support "Public access" switch in the UI for docs. 2020-09-18 19:14:33 -04:00
Housekeeper.ts (core) move some material to core that slipped through in a rebase 2020-07-23 11:29:05 -04:00
Permissions.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
scrubUserFromOrg.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
TypeORMPatches.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Usage.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
values.ts (core) move home server into core 2020-07-21 20:39:10 -04:00