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

73 commits

Author SHA1 Message Date
mike12345567 5ffe3c7935 First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
mike12345567 dcc9e1b37a Linting. 2021-06-14 15:32:24 +01:00
mike12345567 9a5a005e8f Removing the ability to set a role ID from within an app. 2021-06-14 15:29:14 +01:00
Michael Drury 7bd07031e4 Linting. 2021-06-08 18:29:34 +01:00
mike12345567 c80f63673b Formatting. 2021-06-08 16:11:46 +01:00
mike12345567 594a290286 Re-writing how global users are handled in server, specifically how they are retrieved, so that for relationships it can handle the global user. 2021-06-08 16:06:30 +01:00
mike12345567 9d3c28ecbf Fixing issue with builder not always having the correct roles to view an app - global builders are now admins in all apps. 2021-06-04 12:13:29 +01:00
mike12345567 8c68f1c134 Fixing issues with the user table within the apps. 2021-05-19 15:55:00 +01:00
mike12345567 6d6eee2a93 Adding the ability to get all apps, with the status attached. 2021-05-19 15:09:57 +01:00
mike12345567 af531241c4 Adding a get self endpoint in the global users. 2021-05-19 13:37:59 +01:00
mike12345567 1956d9765e Adding admin only endpoint, removing the ability to create/delete global users from the app server and adding a global self user update. 2021-05-19 13:17:50 +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
mike12345567 4652aaa16f Fixing two issues which were blocking previews, one the user was no longer being updated as an admin (when first building/creating an app) and two, role was not being carried across from global user properly. 2021-05-13 18:10:09 +01:00
mike12345567 c259564ba8 Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 13:24:14 +01:00
Andrew Kingston 556236ebce Add explicit prettier options 2021-05-04 11:32:22 +01:00
mike12345567 acc6eed8ff Merge branch 'next' of github.com:Budibase/budibase into labday/mike-formulas 2021-05-04 10:34:30 +01:00
Keviin Åberg Kultalahti 4ec2e7d01f lint:fix 2021-05-03 09:31:09 +02:00
mike12345567 4ed611fb73 Adding handlebars formulas to the system, it is now possible to set a formula at a column level which will always be applied on the way out with a relationship depth of one. 2021-04-29 19:06:58 +01:00
Martin McKeaveney 737e9dba47 config specificity 2021-04-22 11:45:22 +01:00
mike12345567 7612b5ed16 Swapping over everything to use the new user ID and updating everything after some end to end testing. 2021-04-20 17:17:44 +01:00
mike12345567 ade007482c Updating the server to remove use of the email in the user ID. 2021-04-19 16:26:33 +01:00
mike12345567 20a16e07a1 Removing test case that isn't valid anymore. 2021-04-14 17:27:58 +01:00
Martin McKeaveney 4c8c5c17b2 removing initial user creation 2021-04-14 17:02:12 +01:00
mike12345567 76608fcdcd Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 2021-04-13 20:25:43 +01:00
mike12345567 d0bdd113e1 Removing the lookup of _id in usage quota when in dev/self host for performance reasons as part of usage quota, re-writing some bits of fetch self for cleaner implementation, fixing some issues with updating/saving users from within app. 2021-04-13 17:11:55 +01:00
mike12345567 698c983056 Updating fetch self to get the global user as well as local metadata. 2021-04-12 15:54:14 +01:00
mike12345567 dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +01:00
mike12345567 dc62087dad Global user management now functioning as expected, there were some errant db.destroy functions from the system previously, this is now cleaned up. 2021-04-09 16:55:56 +01:00
mike12345567 164ef9a22e Global users now working through the server, all requests proxied. 2021-04-09 15:11:49 +01:00
mike12345567 792114ef46 First pass of global user configuration through existing user API with role mappings. 2021-04-08 16:58:33 +01:00
mike12345567 865baf6d16 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01:00
mike12345567 3f88ed391f Upping user test cases to cover all of controller. 2021-03-09 17:09:18 +00:00
mike12345567 267f1fd87d Switching user activity state to an options field rather than boolean (more extensible). 2021-02-22 12:29:49 +00:00
mike12345567 632bfec1e5 Adding the ability to set whether a user is active or not rather than deleting them, stops them from being able to log in to the system. 2021-02-22 11:39:58 +00:00
mike12345567 4b2b375512 Fixing some issues found with users and row updates, specifically relationships and numbers. 2021-02-05 12:23:29 +00:00
mike12345567 40d855df10 Updating row controller to make sure that all user requests (bar deletion) are passed through correctly to the user controller so that any logic such as removing user password can be correctly held in the user controller logic. 2020-12-09 10:54:30 +00:00
mike12345567 2928a379b0 Updating builder/server in a few ways, to allow creating users with extra columns attached, allowing password to be updated in the builder and making sure that all row endpoints correctly pass through the user controller so that we can still have customised functionality for users (such as making sure password is never returned). 2020-12-08 17:33:08 +00:00
Andrew Kingston 1acdcd173c Merge branch 'master' of github.com:Budibase/budibase into feature/security-update 2020-12-08 11:42:29 +00:00
Martin McKeaveney 2123c06df5 fix tests 2020-12-07 21:11:07 +00:00
Martin McKeaveney 0e837899a4 code review 2020-12-07 20:46:37 +00:00
mike12345567 e4ef92555c Merge branch 'username-email' of github.com:Budibase/budibase into feature/security-update 2020-12-07 18:08:20 +00:00
mike12345567 c56bdd0751 Updating role constraints and making sure roles can't be deleted if they are in use. 2020-12-07 15:21:06 +00:00
Martin McKeaveney d6b00d5ebe email as default user identifier 2020-12-04 12:22:45 +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
mike12345567 05d5feb9fd Changing the naming of access levels to be roles. 2020-12-02 13:20:56 +00:00
Martin McKeaveney 61a9d954e5 fix users test, remove superfluous files 2020-11-25 15:30:10 +00:00
Martin McKeaveney 327f77dbb3 user table and relationships complete 2020-11-24 14:04:14 +00:00
Michael Drury 63b08e42aa 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 2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
Michael Drury 4852ecf96a 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