gristlabs_grist-core/test
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
..
client Adding type inference and makeT helper function 2022-10-20 10:34:38 +02:00
common give parseDate test more time (#278) 2022-09-09 17:05:29 -04:00
deployment Adding new lines at the end 2022-09-30 17:00:38 +02:00
fixtures (core) Moving nbrowser tests to grist-core 2022-10-25 17:22:54 +02:00
gen-server (core) upgrade typeorm so we can support newer postgres 2022-09-02 15:34:21 -04:00
nbrowser improve how server.restart functions in tests (#338) 2022-11-01 20:01:15 -04:00
server (core) be stricter when replacing documents in the presence of granular access rules 2022-11-09 14:14:09 -05:00
chai-as-promised.js (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
init-mocha-webdriver.js Correct spelling mistakes 2022-02-19 09:46:49 +00:00
mocha.opts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
report-why-tests-hang.js (core) Move report-why-tests-hang helper to core 2021-04-26 23:52:16 -04:00
test_under_docker.sh Adding dedicated folder for external tests 2022-09-30 16:45:35 +02:00
testUtils.ts (core) add missing tsconfig file that affects IDEs 2022-05-27 13:48:58 -04:00
tsconfig.json (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
utils.js (core) Moving client and common tests to core 2022-08-23 19:20:10 +02:00
xunit-file.js (core) Parallelize jenkins by running on multiple machines. 2022-07-01 16:18:36 -04:00