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.
|
2021-09-23 19:04:53 +01:00 |
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.
|
2021-05-14 15:43:41 +01:00 |
Andrew Kingston
|
556236ebce
|
Add explicit prettier options
|
2021-05-04 11:32:22 +01:00 |
Keviin Åberg Kultalahti
|
4ec2e7d01f
|
lint:fix
|
2021-05-03 09:31:09 +02:00 |
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.
|
2021-02-12 20:34:54 +00:00 |
mike12345567
|
fcc683cf99
|
Some more fixes for RBAC as well as fixing the duplication of roles.
|
2021-02-12 12:02:07 +00:00 |
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.
|
2021-02-11 18:13:09 +00:00 |
mike12345567
|
60b7d68c2e
|
Fixing minor issue with switch to level -> roleID.
|
2021-02-11 13:38:07 +00:00 |
mike12345567
|
091b4ee95d
|
Some updates to RBAC backend, try to make switch to object support level -> roleID.
|
2021-02-11 13:29:15 +00:00 |
mike12345567
|
fdb825d444
|
WIP - storing progress on RBAC changes.
|
2021-02-11 10:24:37 +00:00 |
mike12345567
|
fee073fcfe
|
Some more fixes after testing permissions a bit further.
|
2021-02-09 16:01:02 +00:00 |
mike12345567
|
2103378e5c
|
Fixing minor bug with permission add.
|
2021-02-09 13:14:23 +00:00 |
mike12345567
|
c8ef404560
|
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
|
d9ca4f0eed
|
Some more work and start of a test case towards resource permissions.
|
2021-02-08 18:30:30 +00:00 |
mike12345567
|
cd729192ea
|
Adding in resource IDs everywhere they should be accessible.
|
2021-02-08 17:22:07 +00:00 |
mike12345567
|
36edf3788f
|
Further work, need to have a larger think about the API of this.
|
2021-02-05 18:46:15 +00:00 |
mike12345567
|
9f1c2cd602
|
Initial work towards rbac.
|
2021-02-05 15:58:25 +00:00 |
mike12345567
|
65302e1dd9
|
Changing the role system to have permissions integrated rather than the permissions being per user.
|
2020-12-02 17:08:25 +00:00 |