gristlabs_grist-core/app/gen-server/migration
Paul Fitzpatrick 6b24d496db (core) add per-user per-org preferences to database
Summary:
Adds preferences to orgs.  There are a few flavors:
 * `userOrgPrefs`: these are specific to a certain user and a certain org.
 * `orgPrefs`: these are specific to a certain org, and apply to all users.
 * `userPrefs`: these are specific to a certain user, and apply to all orgs.

The three flavors of prefs are reported by `GET` for an org, and can be modified by `PATCH` for an org.  The user needs to have UPDATE rights to change `orgPrefs`, but can change `userOrgPrefs` and `userPrefs` without that right since the settings only affect themselves.

Test Plan: added tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2572
2020-08-04 15:20:13 -04:00
..
1536634251710-Initial.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1539031763952-Login.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1549313797109-PinDocs.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1549381727494-UserPicture.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1551805156919-LoginDisplayEmail.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1552416614755-LoginDisplayEmailNonNull.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1553016106336-Indexes.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1556726945436-Billing.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1557157922339-OrgDomainUnique.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1561589211752-Aliases.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1568238234987-TeamMembers.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1569593726320-FirstLogin.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1569946508569-FirstTimeUser.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1573569442552-CustomerIndex.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1579559983067-ExtraIndexes.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1591755411755-OrgHost.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1592261300044-DocRemovedAt.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
1596456522124-Prefs.ts (core) add per-user per-org preferences to database 2020-08-04 15:20:13 -04:00