budibase/packages/backend-core/tests/utilities/structures
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.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
apps.ts Prefer app url resolution over referer (#9218) 2023-01-11 10:24:57 +00:00
common.ts Test fixes 2022-11-11 15:43:41 +00:00
db.ts Cleanup 2023-02-03 19:23:36 +00:00
index.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
koa.ts Prefer app url resolution over referer (#9218) 2023-01-11 10:24:57 +00:00
licenses.ts Process quota emails in account-portal 2022-10-06 16:03:47 +01:00
plugins.ts File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
sso.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
tenants.ts Rename name for id 2023-02-03 12:09:56 +00:00
users.ts Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00