6af18275c4f17d08c7ebe6dc5a90a937db7876b1
The Usage page gated cross-user features (default ``scope=all``, the user filter, the per-user breakdown dimension) on ``currentUser.is_admin`` alone. The backend's ``_can_use_all_scope`` already grants the same surface to Org owners — the page just never asked. Result: a non-admin Org owner landed on ``scope=self`` with no user filter and no per-user group-by, even though the API would have happily served them the org-wide picture. Switch the three sites to ``useAccess().canSeeOrgAdmin``, which already encodes "platform admin OR owner of the selected (non-Personal) Org". One predicate, no new helper. Sites: - ``index.tsx``: ``initialScope`` defaults to ``all`` for managers. - ``filter-bar.tsx``: the user filter + nested API-key cascader surface (vs the flat API-key picker for members). - ``daily-usage.tsx``: the ``user`` group-by option in the chart.
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%