-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17
-
None
-
Moderate
-
None
-
False
-
Description of problem:
VolumeSnapshotClass is cluster scoped resource and normal user has no permission to create, so we should disable the creation button
Version-Release number of selected component (if applicable):
4.17.0-0.nightly-2024-07-17-183402
How reproducible:
Always
Steps to Reproduce:
1. normal user navigate to VolumeSnapshotClasses list page Storage -> VolumeSnapshotClasses
Actual results:
There is a 'Create VolumeSnapshotClass' button, when user tries to create from example YAML, we will see error message: volumesnapshotclasses.snapshot.storage.k8s.io is forbidden: User "yapei1" cannot create resource "volumesnapshotclasses" in API group "snapshot.storage.k8s.io" at the cluster scope
Expected results:
VolumeSnapshotClasses is cluster scoped resource, normal user is not permitted to create so we should disable 'Create VolumeSnapshotClass' button for normal user
Additional info:
- duplicates
-
OCPBUGS-37451 disable 'Create VolumeSnapshotClass' button for normal user
-
- Closed
-