gristlabs_grist-core/app/server
Paul Fitzpatrick 526fda4eba (core) make user role available in ActiveDoc methods
Summary: This makes the user's role (owner/editor/viewer) available in ActiveDoc methods. No use of that information is made yet, other than to log it.  The bulk of the diff is getting a handle on the various ways the methods can be called, and systematizing it a bit more.  In passing, access control is added to broadcasts of document changes, so users who no longer have access to a document do not receive changes if they still have the document open.

Test Plan: existing tests pass; test for broadcast access control added

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2599
2020-09-02 14:46:15 -04:00
..
lib (core) make user role available in ActiveDoc methods 2020-09-02 14:46:15 -04:00
declarations.d.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
devServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
mergedServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
serverMethods.js (core) make user role available in ActiveDoc methods 2020-09-02 14:46:15 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00