gristlabs_grist-core/app/gen-server
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
..
entity (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
lib (core) allow a doc owner to test access as a different user 2021-01-15 18:45:57 -05:00
migration (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00
ApiServer.ts (core) revamp user attribute handling 2020-12-11 15:15:35 -05:00
sqlUtils.ts (core) add a test for unnecessary workspaces shown in trash, and fix issue 2020-07-23 11:04:33 -04:00