gristlabs_grist-core/app/gen-server/lib
Paul Fitzpatrick 20dd2fc70d (core) allow non-owners to remove themselves from sites/workspaces/docs
Summary:
For users who cannot otherwise change access to a resource, let
them remove themselves. Implemented via the standard endpoints
as a special exception that will process a request from a user
that would otherwise be denied, if the only contents of that
request are a removal of themselves.

Users who can change access are still not permitted to change their
own permissions or to remove themselves, as a precaution against
orphaning resources.

Test Plan: extended and updated tests

Reviewers: cyprien

Reviewed By: cyprien

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D3367
2022-04-13 10:04:32 -04:00
..
DocApiForwarder.ts
DocWorkerMap.ts (core) Add new Grist login page 2022-04-01 15:24:19 -07:00
Doom.ts
HomeDBManager.ts (core) allow non-owners to remove themselves from sites/workspaces/docs 2022-04-13 10:04:32 -04:00
Housekeeper.ts
Permissions.ts
scrubUserFromOrg.ts
TypeORMPatches.ts
Usage.ts
values.ts