1
0
Fork 0
mirror of synced 2024-09-17 17:57:47 +12:00
budibase/packages/server/src
Rory Powell cacf275a99 Prevent SSO users from setting / resetting a password (#9672)
* Prevent SSO users from setting / resetting a password

* Add support for ENABLE_SSO_MAINTENANCE_MODE

* Add typing to self api and build out user update sdk

* Integrate sso checks with user sdk. Integrate user sdk with self api

* Test fixes

* Move self update into SDK

* Lock down maintenance mode to admin user

* Fix typo

* Add health status response and return type signature to accounts.getStatus

* Remove some unnecessary comments

* Make sso save user function non optional

* Remove redundant check on sso auth details provider

* Update syncProfilePicture function name to getProfilePictureUrl

* Update packages/worker/src/sdk/users/events.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Add ENABLE_EMAIL_TEST_MODE flag

* Fix for logging in as sso user when existing user has password already

* Hide password update and force reset from ui for sso users

* Always disable sso maintenance mode in cloud

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-02-21 08:23:53 +00:00
..
api Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
automations Merge. 2023-02-06 18:00:42 +00:00
constants
db
definitions
events
integration-test Clean describes 2023-02-07 11:27:46 +00:00
integrations Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
middleware
migrations Updating test case which has been occasionally throwing 409 issues. 2023-02-10 18:29:29 +00:00
sdk Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-10 17:42:56 +00:00
tests Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
threads Minor fix for automations, the wrong function had the environment variables being added to environment, this is very minor, it simply makes sure that environment variables are in context for the whole of the automation runner - e.g. if utilising many datasources each of them doesn't need to re-retrieve the environment variables, instead they will be available based on the env vars retrieved at the start of the execution. 2023-02-10 14:14:43 +00:00
utilities
app.ts add datadog apm (#9693) 2023-02-15 16:28:20 +00:00
ddApm.ts add datadog apm (#9693) 2023-02-15 16:28:20 +00:00
elasticApm.ts add datadog apm (#9693) 2023-02-15 16:28:20 +00:00
environment.ts Merge master into develop 2023-02-15 15:10:02 +00:00
index.ts
startup.ts
watch.ts
websocket.ts