Commit Graph

11 Commits

Author SHA1 Message Date
rijkvanzanten
510cbe4ed4 Fix missing type info 2021-02-11 18:14:55 -05:00
Rijk van Zanten
b7d87e581a System permissions for app access (#4004)
* Pass relations through schema, instead of individual reads

* Fetch field transforms upfront

* Fix length check

* List if user has app access or not in accountability

* Load permissions up front, merge app access minimal permissions

* Show app access required permissions in permissions overview

* Show system minimal permissions in permissions detail

* Fix app access check in authenticate for jwt use

* Fix minimal permissions for presets

* Remove /permissions/me in favor of root use w/ permissions

* Fix logical nested OR in an AND

* Use root permissions endpoint with filter instead of /me

* Allow filter query on /permissions

* Add system minimal app access permissions into result of /permissions

* Remove stray console log

* Remove stray console.dir

* Set current role as role for minimal permissions

* Fix no-permissions state for user detail

* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -05:00
rijkvanzanten
178e91106b Remove unused imports 2021-01-12 16:15:44 -05:00
rijkvanzanten
6b029b416b iRemove imported types that aren't needed 2021-01-12 16:11:08 -05:00
WoLfulus
c5f3802da3 Replace express-async-handler for a local function. 2020-12-22 17:11:08 -03:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
5bedda945c Warn, don't error, on missing PKs in schema
Fixes #3251
2020-12-07 18:24:33 -05:00
rijkvanzanten
33c3f69d9e Fix naming in schema middleware 2020-11-10 09:29:41 -05:00
rijkvanzanten
4d09f4a07e Add oracle/mssql 2020-11-09 18:50:08 -05:00
rijkvanzanten
64d34933d1 Add overview method for SQLite3 2020-11-09 18:37:00 -05:00
rijkvanzanten
0697f4b4be Add new overview method, attach it every request 2020-11-09 15:19:23 -05:00