Bug 1424598 - Dedicated-admins cannot see projects with rolebinding admin role removed.
Summary: Dedicated-admins cannot see projects with rolebinding admin role removed.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 3.3.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: Chuan Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-17 18:24 UTC by Max Whittingham
Modified: 2020-03-11 15:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-21 22:55:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Max Whittingham 2017-02-17 18:24:35 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
$ oc new-project hidden
$ oc delete rolebinding admin

Actual results:
a user can create a project, and then delete the rolebinding admin in that project.  This effectively removes the ability for dedicated admins to see that the project exists.

Expected results:
Dedicated-admins should still have the ability to view and add rolebindings for admin.

Additional info:

Comment 1 Jordan Liggitt 2017-02-17 18:46:25 UTC
There is supposed to be a controller that ensures dedicated admins continuously have permissions in all appropriate projects

Comment 2 Abhishek Gupta 2017-02-17 18:57:48 UTC
That is correct - the dedicated admin service will recreate that rolebinding at its sync interval of 30 minutes. Is that not working?

Comment 3 Eric Jones 2017-02-21 22:23:51 UTC
This did resolve the issue.

Is this a part of the atomic-openshift-master-controllers service? If not, can we get a little more details about it?

Comment 4 Abhishek Gupta 2017-02-21 22:32:45 UTC
Its part of openshift-dedicated-role.service 
This is the service that is responsible for creating the roles and making sure that it is assigned to the cluster role as well as the project role for each user project.

Comment 5 Abhishek Gupta 2017-02-21 22:39:10 UTC
Eric: Once verified that your requirements are satisfied, please close this bug.

Comment 6 Eric Jones 2017-02-21 22:55:13 UTC
That makes sense. Thanks Abhishek!


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