gristlabs_grist-core/app/gen-server
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
..
entity (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
lib (core) Support "Public access" switch in the UI for docs. 2020-09-18 19:14:33 -04:00
migration (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
ApiServer.ts (core) do not allow anonymous user to set a name 2020-08-04 17:56:13 -04:00
sqlUtils.ts (core) add a test for unnecessary workspaces shown in trash, and fix issue 2020-07-23 11:04:33 -04:00