Hide Forgot
Description of problem: Web should not add user to rolebinding again if the user is already in it Version-Release number of selected component (if applicable): v3.4.0.14 How reproducible: Always Steps to Reproduce: 1. Login to web console, create project 2. Go to "Resources" -> "Membership", click "Edit Membership" 3. 1> Add role to user: input user name "bob", select "view", click "Add" 2> Then check rolebinding in CLI: $ oc get rolebinding view 4. Do step 3 again. Actual results: 3. 2> It shows: view /view bob 4. 2> It adds bob twice and shows: view /view bob, bob Expected results: 4. 2> Should not add bob again into the rolebinding. Because: A. If step 4 is done via CLI `oc policy add-role-to-user view bob`, bob is not added again. B. https://github.com/openshift/origin-web-console/pull/562#issue-178108708 says it: "On add, check for duplicates,do not add a user/group/etc to a rolebinding if already present in the specified rolebinding" Additional info:
PR open for this https://github.com/openshift/origin-web-console/pull/788
This was fixed
Verified in openshift v3.4.0.23+24b1a58. Now duplicate adding is checked and will prompt message: the role is already granted to user. I'd like to move to VERIFIED (skip the ON_QA status) Thank you :)