64 Commits (4824d7810a54abbc87feb186462572dfb0760970)

Author SHA1 Message Date
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
mike12345567 4ce920df01 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
mike12345567 4d5ac0ee9e 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). 6 years ago
Martin McKeaveney cffa809316 fix tests 6 years ago
Martin McKeaveney ccb6b59588 code review 6 years ago
mike12345567 3339f364b6 Updating role constraints and making sure roles can't be deleted if they are in use. 6 years ago
Martin McKeaveney f05d696ef7 email as default user identifier 6 years ago
mike12345567 19faffff83 Changing the role system to have permissions integrated rather than the permissions being per user. 6 years ago
mike12345567 05225f7787 Changing the naming of access levels to be roles. 6 years ago
Martin McKeaveney ce4bf552f1 fix users test, remove superfluous files 6 years ago
Martin McKeaveney a92d54f9a7 user table and relationships complete 6 years ago
Michael Drury a423664f4c Large update, tests passing, have simplifed access level API, access levels and permissions are now totally separate. 6 years ago
mike12345567 6148128554 Tests failing but starting to progress. 6 years ago
Michael Drury 1f4e27eb13 WIP - this is working towards the permissions system but stopping here for the night, this is currently not functional. 6 years ago
mike12345567 e353c2a1c4 Updating templates to be able to run locally with an environment variable LOCAL_TEMPLATES and making them work using the DB. Users are also no longer included in the db dump. 6 years ago
mike12345567 d9025d1aa1 Getting rid of userInstanceMap, preparing for meat of auth update. 6 years ago
mike12345567 5b2be03bc3 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 6 years ago
mike12345567 ea03d099b3 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 6 years ago
mike12345567 0db7768e5d Adding jsdoc to the db utils and removing the views, this is a breaking change for existing apps. 6 years ago
mike12345567 f6e3d43bd7 Fixing a problem detected by a test case. 6 years ago
mike12345567 1382c3bb12 This is a breaking change, it updates the block definitions to work with the new structure of inputs and outputs. 6 years ago
kevmodrome 5530e8f231 lint fix 6 years ago
kevmodrome eec2c4de7c correct put call to not remove password 😅 6 years ago
kevmodrome ba3046a1ca remove console log 6 years ago
kevmodrome d284dd0b02 fix wrong stuff coming back after updating user 6 years ago
kevmodrome 96f0de3366 lint fixes 6 years ago