1
0
Fork 0
mirror of synced 2024-06-21 11:51:00 +12:00
Commit graph

92 commits

Author SHA1 Message Date
mike12345567 dea90c04eb Fixing an issue with user syncing on save to app DBs as well as fixing a problem with pretty app URLs not setting the app ID correctly into the context. 2022-02-04 17:37:13 +00:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Michael Drury 91c2a40c89 Final pass refactoring - need to test but all code in server converted. 2022-01-28 00:05:39 +00:00
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
mike12345567 836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
mike12345567 b0ef15684b Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 2021-12-07 18:24:10 +00:00
Rory Powell 04a7382392 Add fix for user metadata sync when deleting 2021-12-01 09:54:23 +00:00
mike12345567 9b5909e367 Adding role, as it wasn't being set in metadata. 2021-11-15 16:46:56 +00:00
mike12345567 45af6be6de Fixing issue found by Mitch, with syncing not functioning for singular role updates. 2021-11-15 16:42:17 +00:00
mike12345567 c8e02a20a0 Updating per review comments. 2021-11-10 12:03:43 +00:00
mike12345567 9aa708588a Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
Michael Drury 8bf2e7278e Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Michael Drury 1aeb12b0aa Syncing user metadata when builder opened as well as including all global user props for filtering/searching. 2021-11-03 22:23:00 +00:00
Martin McKeaveney adcfe0fee5 ensure internal tableId always attached to user objects 2021-09-10 17:02:55 +01:00
mike12345567 4ff9de1b6c Fixing issues with search endpoint not handling users fully. 2021-09-02 17:13:00 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
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