1
0
Fork 0
mirror of synced 2024-07-07 15:25:52 +12:00
budibase/packages/builder
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
assets Portal redesign (#9336) 2023-01-18 13:56:53 +00:00
build
src Prevent SSO users from setting / resetting a password (#9672) 2023-02-21 08:23:53 +00:00
ts Update package.json and file addition 2023-01-31 18:05:53 +00:00
.gitignore
babel.config.js
CONTRIBUTING.md
index.html
LICENSE.md
nuxt.config.js
package.json v2.3.17-alpha.4 2023-02-17 14:56:34 +00:00
README.md
reporterConfig.json merging report inline HTML, fixing webhook to prevent 400s from discord 2022-05-20 16:47:09 +01:00
routify.config.js
setup.js Minor changes 2023-02-01 15:56:00 +00:00
testConfig.json Minor changes 2023-02-01 15:56:00 +00:00
tsconfig.build.json Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
tsconfig.json Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
vite.config.js New App Onboarding (#9489) 2023-01-31 19:34:32 +00:00
yarn.lock Updates to use our new Nano layer for CouchDB integration rather than PouchDB. 2023-01-31 19:49:31 +00:00

Get Started

yarn install

Vite dev server (port 3000): yarn run dev Build yarn run build