2 Commits (9bbb230aa6a28b4dbbe69831e3737d1dcf4fcde3)

Author SHA1 Message Date
mike12345567 649a33d3c8 Getting rid of the concept of permissions hierarchy, roles still have a hierarchy and base permissions still follow the old system, but resources can be given a stack of separate permissions which don't override each other. 5 years ago
mike12345567 bc6660fd0e Updating permissions to allow roles other than builder/admin to use apps properly. 5 years ago
mike12345567 c311bae7b9 Fixing an issue with redirect loop in auth, 5 years ago
mike12345567 2d0122f7d6 A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 5 years ago
Andrew Kingston 556236ebce Add explicit prettier options 5 years ago
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 5 years ago
mike12345567 491eb00ea1 Fixing an issue discovered by test case. 6 years ago
mike12345567 74dfeb7c7b 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. 6 years ago
Andrew Kingston 00eb595fd0 Fix permissions when fetching enriched rows 6 years ago
mike12345567 f57db6afad 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. 6 years ago
mike12345567 0e95370b79 Linting. 6 years ago
mike12345567 3fd557bf08 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. 6 years ago
mike12345567 091b4ee95d Some updates to RBAC backend, try to make switch to object support level -> roleID. 6 years ago
mike12345567 fdb825d444 WIP - storing progress on RBAC changes. 6 years ago
mike12345567 7d8cdafc60 Making use of the resourceId in the middleware package. 6 years ago
mike12345567 cd729192ea Adding in resource IDs everywhere they should be accessible. 6 years ago
mike12345567 9f1c2cd602 Initial work towards rbac. 6 years ago
Martin McKeaveney 72ea05cc05 type safe schema validation 6 years ago
Martin McKeaveney 37ef32a173 switching between queries 6 years ago
mike12345567 65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 6 years ago
mike12345567 2472168477 Tests failing but starting to progress. 6 years ago
Michael Drury 4852ecf96a WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 6 years ago