gristlabs_grist-core/app/gen-server/lib
Paul Fitzpatrick 3ad9b18ddf (core) allow a doc owner to test access as a different user
Summary:
This adds back-end support for query parameters `aclAsUser_` and
`aclAsUserId_` which, when either is present, direct Grist to
process granular access control rules from the point of view
of that user (specified by email or id respectively).

Some front end support is added, in the form of a tag that
shows up when in this mode, and a way to cancel the mode.
No friendly way to initiate the mode is offered yet.

Test Plan: added test

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2704
2021-01-15 18:45:57 -05:00
..
DocApiForwarder.ts (core) start reconciling forking with granular access 2021-01-12 14:08:49 -05:00
DocWorkerMap.ts (core) start reconciling forking with granular access 2021-01-12 14:08:49 -05:00
HomeDBManager.ts (core) allow a doc owner to test access as a different user 2021-01-15 18:45:57 -05:00
Housekeeper.ts (core) add housekeeping endpoints for cleaning doc snapshots+state 2021-01-05 10:31:14 -05: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) revamp snapshot inventory 2020-10-30 13:52:46 -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