Commit graph

9 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
d0d566bbd9 Improve database speed 2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
ddf87a7188 No need to pass $before and $after values for determining permissions 2019-11-18 11:36:12 +00:00
Tobie Morgan Hitchcock
6a236b27b2 Improve permission checking efficiency 2019-10-03 18:48:13 +01:00
Tobie Morgan Hitchcock
a00a7f17ef Use caching on database level, not in document class 2019-02-01 00:18:55 +00:00
Tobie Morgan Hitchcock
a3787ad274 Simplify and improve internal SQL AST structures 2018-08-20 00:21:35 +01:00
Tobie Morgan Hitchcock
e3bea0a897 Use context.Context on all kvs requests 2018-05-02 03:05:03 +01:00
Tobie Morgan Hitchcock
47e1a4aceb Fix a bug with virtual records in scoped queries
When querying a virtual document, it would check that the scope had permission to view the record, even though the record did not actually belong to a table.

Not it checks to see if the record is a virtual in-memory record, and does not perform any permissions checks if this is the case.
2018-05-01 13:17:10 +01:00
Tobie Morgan Hitchcock
eb62515a05 Ensure that fields are not removed when set to NULL 2018-04-27 00:40:36 +01:00
Tobie Morgan Hitchcock
67cfca04b9 Enable permissions on individual document fields 2018-04-14 19:14:47 +01:00