1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
Commit graph

14 commits

Author SHA1 Message Date
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