-
Notifications
You must be signed in to change notification settings - Fork 248
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
Snapshot create/restore and rotate certificate
actions not available for a Standard user (RKE1)
#5011
Comments
The issue appears to be that a standard user does not have backupEtcd as an available k8s action We can bypass the logic to enable a standard user to have the UI 'take snapshot' and 'restore snapshot' functionality, but these will result in a 403 error |
@neillsom This is labelled in Review, but I don't see a PR for this. If the backend is not proving the backupEtcd action for a standard user, and they should be able to snapshot, then we need a backend fix, so we should open an issue in rancher/rancher. |
@neillsom For clarification, the standard user is also the cluster owner in this case. |
Rancher/rancher issue rancher/rancher#36757 |
Based on rancher/rancher#36757 (comment), the backend appears to be working as designed. @neillsom can you review @MbolotSuse's comment and see if there is anything else that we need the backend to help out with? |
Backend ticket marked as closed with comments indicating it's working as designed there. @neillsom do you have enough now to work on this? |
I have updated the backend issue and re-opened it - this works for RKE2 but NOT for RKE1 |
rotate certificate
actions not available for a Standard user (RKE1)
Should this be in the v2.6.4 release notes under known issues? Cc @jtravee |
I think it should be. I'll add it to the RN and add the label here as well, thanks! |
Backend may have a fix now. It's in QA's hands so UI may be unblocked. @MbolotSuse is that true? |
@neillsom we're unblocked on this again. |
@gaktive Sorry for not letting you know. We have the fix code available in master. Still needs to go through QA and all though. |
Thanks @MbolotSuse; we'll keep this in Next Up but lower on the stack in case. |
Backend work passed QA yesterday. Not sure if UI has time to get this in for 2.6.5 but we'll see. |
I have validated that given the backend changes, this is now working in the UI - moving to Test for QA to validate and sign-off. |
timhaneunsoo said: ### Test Environment: ### Downstream cluster type: EC2 rke1 node driver Testing:Tested this issue with the following steps:
Result - Pass Standard users are now able to access snapshot related functions as intended on Cluster Management page |
Setup
Describe the bug
The following snapshot related actions are not available for a Std user.
To Reproduce
Result
On the Cluster Management page, snapshot related actions are not available
Expected Result
Restore Snapshot should be available to standard user on Cluster Management page
Screenshots
Context
The behavior for the snapshot related actions need to be consistent between standard users and admin
Standard users will be able to access the snapshot related functions as intended
The text was updated successfully, but these errors were encountered: