gristlabs_grist-core/app/gen-server/lib
Paul Fitzpatrick a27032df3e (core) add a test for unnecessary workspaces shown in trash, and fix issue
Summary:
Currently if I share a doc with a friend, and then soft-delete a doc
in the same workspace, that friend will see the workspace in their
trash (empty, but there).

This adds a test for the issue and resolves it by filtering out
docs at the sql level that used to be filtered out by javascript.

Test Plan: added test; existing tests pass

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2557
2020-07-23 11:04:33 -04:00
..
DocApiForwarder.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
DocWorkerMap.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
HomeDBManager.ts (core) add a test for unnecessary workspaces shown in trash, and fix issue 2020-07-23 11:04:33 -04:00
Permissions.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
scrubUserFromOrg.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
TypeORMPatches.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
Usage.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
values.ts (core) move home server into core 2020-07-21 20:39:10 -04:00