1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00
Commit graph

47 commits

Author SHA1 Message Date
mike12345567
dccd559b56 Updating some test cases to work with new system. 2021-04-09 17:33:21 +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
Martin McKeaveney
2d7823f314 Merge branch 'dev-experience' of https://github.com/Budibase/budibase into feature/global-user-management 2021-04-07 17:17:00 +01:00
mike12345567
29787032f0 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +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
73cf53d149 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
mike12345567
08d15f9d03 Adding auth tests. 2021-03-10 12:20:07 +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
a6d82f8c95 Updating the self auth endpoint to use the row processor. 2021-02-19 10:32:24 +00:00
Michael Drury
b1127b718e
Merge pull request #1049 from Budibase/feature/selfhosting-info
Quick update to self hosting to make next steps clear
2021-02-01 13:24:50 +00:00
mike12345567
4d1ad5e726 This commit includes some fixes for a few auth issues I found when I was working on this and a static page which shows the self hosting info to get the user going (if they end up there). 2021-01-28 18:30:59 +00:00
Andrew Kingston
b4ccf9c1d2 Add current user bindings, and current user relationships as data sources 2021-01-28 14:29:35 +00:00
mike12345567
8655d73248 Update after testing, it is now possible to make a deployment to a self hosted environment. Some work still required, better authentication around MINIO deployment, currently the bucket is set to public read and there is no signing/verification to the upload process, also right now four different URLs are needed for the builder to connect correctly, ideally this shouldn't be the case. 2020-12-18 12:54:20 +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
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
mike12345567
2472168477 Tests failing but starting to progress. 2020-11-12 17:06:55 +00:00
Michael Drury
957706fc91 Linting and fixing client test case, have to mock getAppId as the location will never be set during testing. 2020-11-03 14:30:20 +00:00
Michael Drury
27871c1bc0 Removing appIds from tokens to reduce confusion. 2020-11-03 13:58:17 +00:00
Michael Drury
a35b6a57f9 Further work towards the re-implementation of auth, changing how the appId is determined, now it mainly will use a header, and a cookie which will be written to store the current status of appId. 2020-11-03 13:45:49 +00:00
mike12345567
0c81516662 Some more re-work, more testing needed to auth stuff. 2020-11-02 20:14:10 +00:00
Michael Drury
98157f076f Some updates, still WIP. 2020-11-02 15:46:08 +00:00
mike12345567
d587bad363 Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now. 2020-10-29 10:28:27 +00:00
mike12345567
d79be3c854 Initial work into multi-tenancy removal, experiencing issues with test cases at this point. 2020-10-28 20:35:06 +00:00
mike12345567
012b290895 Adding a version to the app and then including this in user authentication, this for now is just the version of the builder/server that it was built with. 2020-10-21 15:28:30 +01:00
mike12345567
bbe085f734 Some changes for authentication and getting rid of allScreens component of store as it was causing confusion and breakages. 2020-10-15 13:52:56 +01:00
Martin McKeaveney
e95af51cde simplify user authentication, remove anon user, fix login cookie issues 2020-10-13 21:33:56 +01:00
Martin McKeaveney
3f81757faa deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567
f2b7d85b6e Fixing up middleware to handle uploads, views, records, automation runs and users. 2020-10-07 17:56:47 +01:00
mike12345567
fc2e2a8804 First work towards implementing Dynamo usage in the server when running in the cloud; this is for tracking usage against API keys. 2020-10-06 19:13:41 +01:00
mike12345567
d4c3200322 Fix for an issue detected by user test case. 2020-10-02 12:52:15 +01:00
mike12345567
79cb0c522f Implementing the block definitions as list APIs for the workflow, meaning client has to retrieve structure from API instead of inherently knowing it. 2020-09-10 11:06:13 +01:00
Martin McKeaveney
3c3104be7b enable renaming of records by using IDs 2020-06-23 23:26:54 +01:00
Michael Shanks
d7b09f5b65 removed x-user-agent 2020-06-19 16:59:46 +01:00
Michael Shanks
bf952f8677 instanceid removal 2020-06-18 16:59:31 +01:00
Michael Shanks
bf1da9e94e removal of appRoot - appId comes in cookie 2020-06-12 20:42:55 +01:00
Michael Shanks
6cb7e995a2 changed "master" databse to "clientAppLookup" 2020-06-11 10:12:01 +01:00
Michael Shanks
2d4321177f application supports multiple concurrent client DB 2020-06-10 21:39:30 +01:00
Martin McKeaveney
e74c685956 lint 2020-06-03 20:44:35 +01:00
Martin McKeaveney
0482bc242c fix some other auth bugs 2020-06-03 20:35:30 +01:00
Michael Shanks
3bfe7840e4 access levels 2020-05-27 17:23:01 +01:00
Michael Shanks
b62449bf96 removing clientId from frontend, fixing invalid database name 2020-05-18 06:40:29 +01:00
Michael Shanks
18375a6d19 server tests in-memory and passing 2020-05-14 15:12:30 +01:00
Martin McKeaveney
94b2e0f134 further tidy up and removal 2020-05-07 13:52:24 +01:00
Renamed from packages/server/api/controllers/auth.js (Browse further)