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
Snapshots tab is missing for cluster owner that is a standard user #37630
Comments
The snapshot tab is only shown if the current user has access to the relevant schema, and that schema has a 'collection' link: this was implemented pretty recently here. All that makes sense, but I think there is a backend bug here. Standard users can't load the |
@samjustus based on the feedback from Nancy, this is almost certainly going to be a Neo issue. Can you prioritize for 2.6.6? We should release note for 2.6.5. |
On 2.6head commit id:
|
|
I've spent some time looking into this and the cause of the issue stems from how we are storing and granting snapshot permissions. Each snapshot is stored in the fleet-default namespace. Then a rolebinding is created for the given snapshot to allow the appropriate users/groups access. Since the access to |
Test Environment:Rancher version: v2.6-head f40e542 Downstream cluster type: RKE2 node driver Testing:Tested this issue with the following steps:
Result - Pass |
@KevinJoiner will need release note for this issue |
Release NoteSynopsis of issue: Users with the role 'Cluster Owners' who were not also 'Admins' were not able to manage snapshots on rke2 clusters. |
Setup
Describe the bug
After creating a cluster with Standard user, the snapshots tab is missing and doesn't appear until
Ian admin takes a snapshot from the Cluster Management page.To Reproduce
Result
Snapshots tab is missing
Expected Result
Snapshots tab should be there.
The text was updated successfully, but these errors were encountered: