-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
1
-
False
-
-
False
-
-
Bug Fix
-
Done
-
-
-
RHDH Plugins 3261
Description of problem:
Creating an RBAC role with name that contains ':' or '/' through the REST API (or RBAC admin panel in the UI) creates a role that does nothing and cannot be deleted. Although the name of the role shows up in full as written in the POST request, when clicked on for more information about the role it shows only the part of the name written before the first ':' or '/'. Also while the list of RBAC roles does tell us how many policies were added to the role, when clicking on the role for more information it displays no users or policies.
Prerequisites (if any, like setup, operators/versions):
- Log in with a user that has policy-entity read and create policies allowed
- Navigate to Administration on the sidebar
- On the RBAC panel of the administration click 'Create'
- let the name of the role be <something>:<something> and fill the rest of the create options with any arbitrary users and policies
- Create the role
Actual results:
The created role now displays no information and cannot be deleted.
Expected results:
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
OCP 4.16.4 on ROSA
Additional info (Such as Logs, Screenshots, etc):