budibase/packages/worker/scripts
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
..
dev Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
load update bulk create and bulk delete backend 2022-08-25 19:41:47 +01:00
watchtower-hooks Add watchtower hooks 2021-07-29 20:32:18 +01:00
account.js Introduce dev modes, update contributor guide 2021-10-08 13:13:16 +01:00
localdomain.js Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
multiTenancy.js Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants" 2021-08-05 09:59:08 +01:00
selfhost.js Add self host enable/disable scripts 2021-09-14 12:21:16 +01:00