gristlabs_grist-core/app/gen-server
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
..
entity (core) Enforcing data size limit 2022-03-30 17:56:05 +02:00
lib (core) allow non-owners to remove themselves from sites/workspaces/docs 2022-04-13 10:04:32 -04:00
migration (core) Grace period and delete-only mode when exceeding row limit 2022-03-25 13:41:33 +02:00
ApiServer.ts (core) add users.options.isConsultant flag, and omit such users from billing 2022-04-11 10:26:31 -04:00
sqlUtils.ts (core) fix bug where sharing doc with everyone@ as viewer made it unlisted for site viewers 2021-10-28 12:48:31 -04:00