gristlabs_grist-core/test/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
..
lib (core) be stricter when replacing documents in the presence of granular access rules 2022-11-09 14:14:09 -05:00
Comm.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
customUtil.ts (core) Fix nbrowser/CopyPaste test on Mac 2022-07-29 14:08:29 +02:00
docTools.ts (core) add a yarn run cli tool, and add a sqlite gristify option 2022-07-14 12:00:30 -04:00
gristClient.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
testUtils.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
wait.ts (core) Moving nbrowser tests to grist-core 2022-10-25 17:22:54 +02:00