350f398cde0ec90396b37d34eaa1a9f9be647fc8
The add / edit user drawer now exposes a Source select (Local / OIDC /
SAML / CAS) so an admin can flip an existing account between Local
password and an external IdP without touching the database. Mirrors
the matching `PUT /v1/users/{id}` change on the backend.
Password field follows the selected source:
* Hidden when source != Local — those users authenticate via the IdP
and a local password row would be a /login bypass.
* Required when CREATE-with-Local, or when EDIT is switching an SSO
user back to Local (the backend rejects SSO -> Local without a
fresh password to avoid locking the user out of /login).
* Optional when editing an already-Local user, matching today's
behaviour.
A switch in EDIT mode surfaces a tip explaining the side effect
(password cleared / new password required) so the consequence isn't
hidden. The Source select is disabled on self-edit — same guard the
role column already uses — so an admin can't lock themselves out by
flipping their own row to an external source.
Strings are added to all five locales; the IdP protocol acronyms
(OIDC / SAML / CAS) render verbatim and don't need translation keys.
GPUStack UI
UI for GPUStack.
Installation
- Nodejs 16.0+(with NPM)
If you're on Mac
brew install node
npm install -g pnpm
- Setup
git clone https://github.com/gpustack/gpustack-ui/
- Install dependencies
cd gpustack-ui
pnpm install
Usage
- Run development server (at http://localhost:9000)
npm run dev
- build release
npm run build
Bugs & Issues
- Please submit bugs and issues with a label
ui
Links
- Official website: https://gpustack.ai/
- Documents: https://docs.gpustack.ai/latest/overview/
Languages
TypeScript
68.9%
JavaScript
29.4%
Less
1.4%
CSS
0.3%