1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00
budibase/packages/backend-core/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
..
accounts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
auth Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
cache Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
constants Merge remote-tracking branch 'origin/develop' into feature/environment-variables 2023-01-12 14:54:02 +00:00
context Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
db Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
errors Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
events Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
featureFlags Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
middleware Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
migrations Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
objectStore Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
platform Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
plugin General work after running some tests in CI - general refactoring as well. 2022-11-28 17:54:04 +00:00
queue Enable use of redis container in worker tests 2023-02-13 12:09:16 +00:00
redis Merge pull request #9670 from Budibase/budi-6559-enable-higher-concurrency-and-resiliency 2023-02-13 14:31:14 +00:00
security Some type updates and an improvement to encryption to allow selecting the secret from an option list. 2023-01-16 18:15:43 +00:00
tenancy Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
utils Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
environment.ts Rename LOG_4XX to ENABLE_4XX_HTTP_LOGGING and enable by default 2023-02-13 14:39:24 +00:00
helpers.ts
index.ts Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
installation.ts Fix installation race conditions 2023-01-31 17:27:25 +00:00
logging.ts Fix pino request id generation (#9324) 2023-01-12 10:25:21 +00:00
newid.ts Fixing some issues detected by testing. 2022-11-26 21:26:19 +00:00
users.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00