Bug 1373377 - [atomic registry]Failed to remove project member who has pull & push role assigned
Summary: [atomic registry]Failed to remove project member who has pull & push role ass...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.4.z
Assignee: Dominik Perpeet
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-06 06:54 UTC by Yadan Pei
Modified: 2017-03-02 20:58 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-02 20:58:29 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0434 0 normal SHIPPED_LIVE OpenShift Container Platform registry-console image bug fix update 2017-03-03 02:08:26 UTC

Description Yadan Pei 2016-09-06 06:54:20 UTC
Description of problem:
Failed to remove project member who has pull & push role assigned

Version-Release number of selected component (if applicable):
openshift3/registry-console:3.3

How reproducible:
Always

Steps to Reproduce:
1.Login to registry console with user "user1"
2.Create a new project "test" which allow only specific user or groups to pull images
3.Go to Projects page and select "test" from list
4.Click "Add Member"
5.Assign Admin role to user "useradmin"
6.Assign Pull role to user "userpull"
7.Assign Push role to user "userpush"
8.Click the delete icon for Project Member "useradmin", confirm your deletion with hitting on "Delete" button
9.Click the delete icon for Project Member "userpull", confirm your deletion with hitting on "Delete" button
10.Click the delete icon for Project Member "userpush", confirm your deletion with hitting on "Delete" button

Actual results:
8. Project Member "useradmin" and its Admin role is removed from project successfully
9-10 Project Member "userpush" and "userpull" could not be removed succeessfully, the roles are still shown on page


Expected results:
9,10: Project Member and their roles should be removed successfully

Additional info:

Comment 1 Aaron Weitekamp 2016-09-06 13:31:28 UTC
I was able to reproduce this issue.

Comment 3 Martin Pitt 2017-01-20 11:01:23 UTC
I can reproduce and posted a fix to https://github.com/cockpit-project/cockpit/pull/5771 (will still need a test case).

Comment 4 Dominik Perpeet 2017-01-25 12:02:20 UTC
Fixed upstream in https://github.com/cockpit-project/cockpit/commit/1b8bb472e083cc99c43d3a5b474e38143a7cfa88

Will be released as part of Cockpit 130.

Comment 5 Troy Dawson 2017-02-27 21:32:48 UTC
This is fixed in 3.3 with image
  openshift3/registry-console:3.3-8

This is fixed in 3.4 with image
  openshift3/registry-console:3.4-4

Those images should be in the usual testing areas for testing.

Comment 7 Yadan Pei 2017-03-01 02:25:40 UTC
Checked against
3.3 with image:openshift3/registry-console:3.3-8
3.4 with image:openshift3/registry-console:3.4-4

with same steps, the issue is fixed

Move to VERIFIED

Comment 9 errata-xmlrpc 2017-03-02 20:58:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0434


Note You need to log in before you can comment on or make changes to this bug.