Bug 1335990

Summary: [RFE] oc command to list what roles are attached to a user or group
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: RFEAssignee: David Eads <deads>
Status: CLOSED ERRATA QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: high    
Version: 3.2.0CC: aos-bugs, erich, jokerman, mmccomas, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 12:40:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Howe 2016-05-13 18:24:36 UTC
This RFE is to request a feature that would allow a user or admin to view all out the roles bound to a user. 

For example:

# oc policy usercan USER 
# oadm policy usercan USER 

# oc policy groupcan GROUP
# oadm policy groupcan GROUP

List what all actions a users or group perform all resources. 
Also what the roles tied to them. 


Upstream ISSUE:
https://github.com/openshift/origin/issues/3220


https://trello.com/c/YqfYqKdS/545-8-policy-related-endpoints-need-work

Comment 1 David Eads 2016-05-23 11:43:37 UTC
We have a trello card for a REST endpoint to support that in particular: https://trello.com/c/u6uRPpSg/708-follow-up-for-what-can-i-do-add-check-for-someone-else-endpoint .

Comment 3 errata-xmlrpc 2017-01-18 12:40:49 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:0066