Skip to content

fix(studio): enforce runtime visibility by role - #784

Merged
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/studio-runtime-role-visibility
Jul 30, 2026
Merged

fix(studio): enforce runtime visibility by role#784
yaozheng-fang merged 1 commit into
volcengine:mainfrom
evanlowe:fix/studio-runtime-role-visibility

Conversation

@evanlowe

Copy link
Copy Markdown
Contributor

Summary

  • show all runtimes to administrators while preserving owner-only visibility for developers and regular users
  • mark administrator-owned runtimes with the existing “我创建的” badge
  • hide deployment controls from regular users and scope runtime caches by granted visibility
  • add frontend and RBAC regression coverage and refresh the bundled Studio assets

Testing

  • npm test (292 passed)
  • npm run build
  • uv run pytest tests/cli/test_studio_rbac.py -q (18 passed)
  • uv run ruff check tests/cli/test_studio_rbac.py
  • uv run pyright tests/cli/test_studio_rbac.py
  • uv run pre-commit run --all-files

The production build completed with the existing dynamic-import and chunk-size warnings.

@yaozheng-fang
yaozheng-fang merged commit e07f3f5 into volcengine:main Jul 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants