Paul Fitzpatrick
8f023a6446
(core) implement authorization via query parameter
...
Summary:
This adds any parameters in a document url whose key ends in '_'
into a `user.Link` object available in access control formulas
and in setting up characteristic tables.
This allows, for example, sending links to a document that contain
a hard-to-guess token, and having that link grant access to a
controlled part of the document (invoices for a specific customer
for example).
A `user.Origin` field is also added, set during rest api calls,
but is only tested manually at this point. It could be elaborated
for embedding use-cases.
Test Plan: added test
Reviewers: dsagal
Reviewed By: dsagal
Differential Revision: https://phab.getgrist.com/D2680
2020-12-09 09:48:06 -05:00
..
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-04 16:45:47 -05:00
2020-10-02 13:24:21 -04:00
2020-11-19 18:19:54 -05:00
2020-10-02 13:24:21 -04:00
2020-10-12 16:04:18 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-03 22:56:00 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2020-12-09 09:48:06 -05:00
2020-10-10 00:35:33 -04:00
2020-10-02 13:24:21 -04:00
2020-10-03 22:56:00 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-06 13:18:50 -04:00
2020-10-10 00:35:33 -04:00
2020-10-12 16:04:18 -04:00
2020-11-11 17:25:38 -05:00
2020-12-09 09:48:06 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2020-10-12 16:04:18 -04:00
2020-11-11 15:49:16 -05:00
2020-10-02 13:24:21 -04:00
2020-12-07 14:48:41 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-12 16:04:18 -04:00
2020-10-12 16:04:18 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-10 10:32:07 -05:00
2020-10-02 13:24:21 -04:00
2020-08-14 13:34:38 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-19 18:19:54 -05:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-11-20 11:23:20 -05:00
2020-10-02 13:24:21 -04:00
2020-10-10 00:35:33 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00