gristlabs_grist-core/app/server
Paul Fitzpatrick 42c3568835 (core) be stricter when replacing documents in the presence of granular access rules
Summary:
The /replace endpoint was built with home-level access control in mind. Updates needed:
  * Only an owner can now replace a document. Only owners are permitted to change granular access rules, and a document replacement could change granular access rules.
  * For the document being substituted in: the user must have complete access to view all material within it.

Test Plan: extended test

Reviewers: georgegevoian, dsagal

Reviewed By: georgegevoian, dsagal

Differential Revision: https://phab.getgrist.com/D3694
2022-11-09 14:14:09 -05:00
..
declarations (core) disentangle some server tests, release to core, add GRIST_PROXY_AUTH_HEADER test 2022-03-24 15:11:32 -04:00
lib (core) be stricter when replacing documents in the presence of granular access rules 2022-11-09 14:14:09 -05:00
utils (core) add a yarn run cli tool, and add a sqlite gristify option 2022-07-14 12:00:30 -04:00
companion.ts (core) show package.json version when hovering on Grist icon in grist-core 2022-10-12 16:02:01 -04:00
declarations.d.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
devServerMain.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
generateCheckpoint.ts (core) get all tests working under python3/gvisor 2021-10-18 17:44:15 -04:00
generateInitialDocSql.ts (core) get all tests working under python3/gvisor 2021-10-18 17:44:15 -04:00
localization.ts Split client and server translations, organize by filename 2022-10-13 12:04:29 +02:00
mergedServerMain.ts (core) dust off electron build a little bit 2022-07-29 11:19:26 -04:00
tsconfig.json (core) Simple localization support and currency selector. 2021-08-26 13:36:49 -07:00