1
0
Fork 0
mirror of synced 2024-09-18 02:08:34 +12:00
budibase/packages/types/src/sdk
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
..
events Merge pull request #9409 from Budibase/feature/user-onboarding-overlays 2023-01-31 16:37:18 +00:00
licensing Licensing updates for environment variables. 2023-01-09 15:42:09 +00:00
middleware Support path variable tenancy detection, add /api/system/* tests, update no tenancy matchers to be more accurate 2022-11-11 11:10:07 +00:00
auth.ts Account portal <-> backend-core fixes 2022-11-22 22:24:45 +00:00
context.ts Complete conversion of backend-core to Typescript. 2022-11-24 18:48:51 +00:00
datasources.ts Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
db.ts Fix application delete tests 2023-01-26 18:20:21 +00:00
environmentVariables.ts Small update to properly support environments with environment variables, making sure that datasources correctly select based on app ID. 2023-01-12 14:38:12 +00:00
featureFlag.ts Account portal <-> backend-core fixes 2022-11-22 22:24:45 +00:00
hosting.ts Merge develop 2022-09-28 08:56:45 +01:00
index.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
koa.ts Replace BBContext for Ctx 2023-01-13 13:31:48 +00:00
locks.ts Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
migrations.ts Rename table settings migration and only run on dev apps 2022-11-24 14:23:04 +00:00
search.ts Typescript conversion of the table controllers. 2022-11-22 13:56:01 +00:00
sso.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
user.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00