Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show WorkspaceTemplate for only users who have required UserAddons #786

Closed
jlandowner opened this issue Jul 29, 2023 · 0 comments · Fixed by #793
Closed

Show WorkspaceTemplate for only users who have required UserAddons #786

jlandowner opened this issue Jul 29, 2023 · 0 comments · Fixed by #793
Labels
enhancement New feature or request

Comments

@jlandowner
Copy link
Member

Summary

Show WorkspaceTemplate for only users who have required UserAddons.

Background

Currently on UI, to show WorkspaceTemplate or not is controlled only by UserRole.

In some usecase, WorkspaceTemplate is dependent on UserAddon, for example, which create RBAC(ServiceAccount, rolebinding etc.) or volumes(PersistentVolume etc.)

Solutions

Show WorkspaceTemplate for only users who have required UserAddons.
This feature is similar to UserRole so add required-useraddons annotation on WorkspaceTemplate and used in Workspace Create Dialog.

cosmo-workspace.github.io/required-useraddons: myteam-role,myteam-volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant