-
Bug
-
Resolution: Unresolved
-
Blocker
-
ACM 2.15.0
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
-
-
SF Train-33
-
Critical
-
None
Description of problem:
ACM search uses aggregate API to display virtual machines that a user has access to:
Aggregate API looks at ClusterPermissions to determine the kubevirtprojects permissions a user has. However in ACM 2.15, ClusterPermission added a new spec field:
spec.clusterRoleBindings
In 2.14, it only had spec.clusterRoleBinding (single) where now it supports an array of clusterRoleBindings:
This breaks the fine grained rbac feature for 2.15 because the aggregate API does not report any kubevirtprojects permissions when this new spec field is used. This is a critical bug that will block this fine grained rbac release completely in 2.15.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
- Create ClusterPermission containing kubevirt.io roles using the ClusterPermission spec.clusterRoleBindings
- Aggregate API does not check this field and therefor does not aggregate any user VM permissions
Actual results:
Aggregate API does not aggregate permissions.
Expected results:
Aggregate API should aggregate permissions even if they are in spec.clusterRoleBindings