1
0
Fork 0
mirror of synced 2024-07-07 15:25:52 +12:00
budibase/packages/server
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
..
.vscode
__mocks__ Merge branch 'develop' into feature/dependencies-image 2023-01-30 18:54:05 +00:00
build
scripts Merge master into develop 2023-02-15 15:10:02 +00:00
specs Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
src Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
.dockerignore
.gitignore Merge develop 2022-09-28 08:56:45 +01:00
.npmignore
.yarnrc Merge develop 2022-09-28 08:56:45 +01:00
babel.config.js
docker_run.sh Merge develop 2022-09-28 08:56:45 +01:00
Dockerfile Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
jest-testcontainers-config.js Spin up postgres only on the postgres test 2023-02-06 19:43:08 +00:00
jest.config.ts Renamings 2023-02-03 19:08:45 +00:00
LICENSE
nodemon.json Merge develop 2022-09-28 08:56:45 +01:00
package.json Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00
pm2.config.js Fixing pm2 config. 2022-09-22 18:28:50 +01:00
tsconfig.build.json Fix server docker build (#9718) 2023-02-16 16:44:50 +00:00
tsconfig.json Use swc option with ts-node (#9447) 2023-01-27 09:33:04 +00:00
yarn.lock Merge branch 'develop' into rory/february 2023-02-20 09:57:17 +00:00