1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00
Commit graph

33 commits

Author SHA1 Message Date
mike12345567
60841d1b1f Removing unused code that was causing some issues with API key lookup and validation in self hosted setups. 2021-03-15 20:43:08 +00:00
mike12345567
dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
mike12345567
acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567
229498332e Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
mike12345567
8bf10544c2 Fixing test case. 2021-02-12 20:41:30 +00:00
mike12345567
4f1a0ac645 Fixing an issue with RBAC, there was a mutable issue where a server builtin resource was getting updated, fixed this by not exposing the mutable structure, instead exposing a function which provides a new object everytime. 2021-02-12 20:34:54 +00:00
mike12345567
1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 2021-02-12 12:02:07 +00:00
mike12345567
a1075881a6 Linting. 2021-02-12 09:55:37 +00:00
mike12345567
9ea0456248 Flipping RBAC implementation to use levels -> role for resource perms API and resource -> level -> role for full fetch (please note full fetch will only work for resources that have a custom permission in the system somewhere, everything else simply defaults to standard. 2021-02-11 18:13:09 +00:00
mike12345567
a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 2021-02-11 13:38:07 +00:00
mike12345567
6c4c70e62b Some updates to RBAC backend, try to make switch to object support level -> roleID. 2021-02-11 13:29:15 +00:00
mike12345567
1abc4dd1f7 WIP - storing progress on RBAC changes. 2021-02-11 10:24:37 +00:00
mike12345567
821de55363 Adding basic permissions test which proves a public user can read from a table, but cannot write. 2021-02-09 17:24:36 +00:00
mike12345567
cc02397b01 Fixing issues with builtin roles living in the database as well as in code (easier to change in the future this way) - discovered by basic test case. 2021-02-09 13:01:45 +00:00
mike12345567
7a65a59c78 Making use of the resourceId in the middleware package. 2021-02-08 17:52:22 +00:00
mike12345567
a55d836c33 Adding in resource IDs everywhere they should be accessible. 2021-02-08 17:22:07 +00:00
mike12345567
5f582dd1dc Initial work towards rbac. 2021-02-05 15:58:25 +00:00
Martin McKeaveney
f7383f37da type safe schema validation 2021-01-11 21:01:21 +00:00
Martin McKeaveney
a48869a2f0 merge 2021-01-11 20:29:33 +00:00
Martin McKeaveney
d7a0d29b03 switching between queries 2021-01-06 12:28:51 +00:00
mike12345567
7b21acd8bd Updating API key controller in self-host mode to return self host API key. 2020-12-09 17:10:53 +00:00
mike12345567
1cbe3771ab Adding in self hosted API key. 2020-12-09 17:04:05 +00:00
mike12345567
79cfc5ea01 Fixing an issue with power user not being usable. 2020-12-08 12:20:37 +00:00
mike12345567
1c37299107 Fixing a caching bug found by cheeks. 2020-12-04 14:01:02 +00:00
mike12345567
19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 2020-12-02 17:08:25 +00:00
mike12345567
05225f7787 Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Michael Drury
7fb26408cf Minor update to make use of new client header to state the request is from the client, not the builder. 2020-11-19 20:16:37 +00:00
mike12345567
6a50b1057d Fixing some bugs with previous commit and updating to add the functionality of the api/routing/client. 2020-11-18 15:12:42 +00:00
mike12345567
e793c46097 Updates for screen refactor - finishing off getting everything over to the class based system. 2020-11-17 13:25:57 +00:00
mike12345567
7f5c3a4688 Updating to have proper access control via an accessController and nearly ready to spit out the routing structure. 2020-11-16 18:04:44 +00:00
Michael Drury
a423664f4c Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 2020-11-13 15:35:20 +00:00
mike12345567
6148128554 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
Michael Drury
1f4e27eb13 WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 2020-11-11 17:34:15 +00:00