21 Commits (ea63b9b065bda600f8cd2adc8dd5938b166ff69f)

Author SHA1 Message Date
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 5 years ago
mike12345567 d2fe119d90 Main body of work, refactoring most usages. 5 years ago
mike12345567 836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 5 years ago
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 5 years ago
mike12345567 3631a799c3 Fixing issue with permissions, if some permissions have already been set for a role an error would be thrown which would break the UI and make it impossible to setup permissions for other tables. 5 years ago
mike12345567 6539feb6d7 Fixing issue with permissions, if some permissions have already been set for a role an error would be thrown which would break the UI and make it impossible to setup permissions for other tables. 5 years ago
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 e47bf71e6c 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 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. 6 years ago
mike12345567 cea82f9335 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. 6 years ago
Andrew Kingston 556236ebce Add explicit prettier options 6 years ago
Andrew Kingston 797e8a8b67 Add explicit prettier options 6 years ago
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 6 years ago
Keviin Åberg Kultalahti 0afbf1649e lint:fix 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 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. 6 years ago
mike12345567 fcc683cf99 Some more fixes for RBAC as well as fixing the duplication of roles. 6 years ago
mike12345567 1a8fe9b02c Some more fixes for RBAC as well as fixing the duplication of roles. 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 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. 6 years ago
mike12345567 60b7d68c2e Fixing minor issue with switch to level -> roleID. 6 years ago
mike12345567 a2ce35b2f6 Fixing minor issue with switch to level -> roleID. 6 years ago
mike12345567 091b4ee95d Some updates to RBAC backend, try to make switch to object support level -> roleID. 6 years ago
mike12345567 6c4c70e62b 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 1abc4dd1f7 WIP - storing progress on RBAC changes. 6 years ago
mike12345567 fee073fcfe Some more fixes after testing permissions a bit further. 6 years ago
mike12345567 9fb4c14835 Some more fixes after testing permissions a bit further. 6 years ago
mike12345567 2103378e5c Fixing minor bug with permission add. 6 years ago
mike12345567 ec5f9788c5 Fixing minor bug with permission add. 6 years ago
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. 6 years ago
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. 6 years ago
mike12345567 d9ca4f0eed Some more work and start of a test case towards resource permissions. 6 years ago
mike12345567 c0aaaf0046 Some more work and start of a test case towards resource permissions. 6 years ago
mike12345567 cd729192ea Adding in resource IDs everywhere they should be accessible. 6 years ago
mike12345567 a55d836c33 Adding in resource IDs everywhere they should be accessible. 6 years ago
mike12345567 36edf3788f Further work, need to have a larger think about the API of this. 6 years ago
mike12345567 39a16b93f8 Further work, need to have a larger think about the API of this. 6 years ago
mike12345567 9f1c2cd602 Initial work towards rbac. 6 years ago
mike12345567 5f582dd1dc Initial work towards rbac. 6 years ago
mike12345567 65302e1dd9 Changing the role system to have permissions integrated rather than the permissions being per user. 6 years ago
mike12345567 19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 6 years ago