87 Commits (ffcf5354eb5e28f577d98a3429cb009c46d47294)

Author SHA1 Message Date
Rory Powell ffcf5354eb Add CSRF Token 5 years ago
mike12345567 1327394784 Switching out @budibase/auth to @budibase/backend-core. 5 years ago
mike12345567 c0512fa242 Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 5 years ago
Rory Powell 731cc4229b Add fix for user metadata sync when deleting 5 years ago
mike12345567 0f54787072 Adding role, as it wasn't being set in metadata. 5 years ago
mike12345567 ce47eb6cff Fixing issue found by Mitch, with syncing not functioning for singular role updates. 5 years ago
mike12345567 47122f76fd Updating per review comments. 5 years ago
mike12345567 935fc06edc Updating per review comments. 5 years ago
mike12345567 94ee13ffc4 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. 5 years ago
Michael Drury 3a5e004f36 Adding sync user endpoint to server which can be used by the worker. 5 years ago
Michael Drury 311fe5f2eb Syncing user metadata when builder opened as well as including all global user props for filtering/searching. 5 years ago
Maurits Lourens 518f8fd55e merge develop into branch 5 years ago
Martin McKeaveney 54749d2668 ensure internal tableId always attached to user objects 5 years ago
mike12345567 2148bf6da4 Fixing issues with search endpoint not handling users fully. 5 years ago
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants" 5 years ago
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 5 years ago
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 5 years ago
mike12345567 253cdce67d Linting. 5 years ago
mike12345567 142dd9b214 Removing the ability to set a role ID from within an app. 5 years ago
Michael Drury b48342c55c Linting. 5 years ago
mike12345567 b05c67e8b5 Formatting. 5 years ago
mike12345567 33184be064 Re-writing how global users are handled in server, specifically how they are retrieved, so that for relationships it can handle the global user. 5 years ago
mike12345567 fe4fcad77c Fixing issue with builder not always having the correct roles to view an app - global builders are now admins in all apps. 5 years ago
mike12345567 c6f7f115b5 Fixing issues with the user table within the apps. 5 years ago
mike12345567 0bbd45b413 Adding the ability to get all apps, with the status attached. 5 years ago
mike12345567 91ed6679c4 Adding a get self endpoint in the global users. 5 years ago
mike12345567 f08b894e55 Adding admin only endpoint, removing the ability to create/delete global users from the app server and adding a global self user update. 5 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. 5 years ago
mike12345567 74e6fdddb0 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. 5 years ago
Andrew Kingston 797e8a8b67 Add explicit prettier options 5 years ago
Keviin Åberg Kultalahti 0afbf1649e lint:fix 5 years ago
mike12345567 a14c80bf6c 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. 5 years ago
Martin McKeaveney 6462848191 config specificity 5 years ago
mike12345567 b4c8bf81f7 Swapping over everything to use the new user ID and updating everything after some end to end testing. 5 years ago
mike12345567 eaa89c824e Updating the server to remove use of the email in the user ID. 5 years ago
mike12345567 3dfe255eb4 Removing test case that isn't valid anymore. 5 years ago
Martin McKeaveney 0f6bfb53fc removing initial user creation 5 years ago
mike12345567 c7c158dd84 Fixing up tests, need to mock most of the worker functionality so that worker doesn't need to run during tests. 5 years ago
mike12345567 a1227c5819 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. 5 years ago
mike12345567 0e583eb185 Updating fetch self to get the global user as well as local metadata. 5 years ago
mike12345567 4f71e11c94 Updating some test cases to work with new system. 5 years ago
mike12345567 e34894dd92 Global user management now functioning as expected, there were some errant db.destroy functions from the system previously, this is now cleaned up. 5 years ago
mike12345567 3214abb89a Global users now working through the server, all requests proxied. 5 years ago
mike12345567 8cde219db9 First pass of global user configuration through existing user API with role mappings. 5 years ago
mike12345567 ae8dd1ec78 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 5 years ago
mike12345567 929db83e99 Upping user test cases to cover all of controller. 6 years ago
mike12345567 d9aa1a4890 Switching user activity state to an options field rather than boolean (more extensible). 6 years ago
mike12345567 c801203dc5 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. 6 years ago
mike12345567 5ba9f1a65e Fixing some issues found with users and row updates, specifically relationships and numbers. 6 years ago
mike12345567 36432a490f 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. 6 years ago