Bug 1342153 - User cannot use oc policy to give privilleges to the project
Summary: User cannot use oc policy to give privilleges to the project
Keywords:
Status: CLOSED DUPLICATE of bug 1332862
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-02 14:31 UTC by Siamak Sadeghianfar
Modified: 2019-03-29 15:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-02 14:58:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Siamak Sadeghianfar 2016-06-02 14:31:58 UTC
When user tries to give edit access to the default service account in the project, operation fails with "You must be logged in to the server".

$ oc get project
NAME      DISPLAY NAME   STATUS
demo-ci   Demo CI        Active
 
$ oc project
Using project "demo-ci" on server "https://api.dev-preview-int.openshift.com:443".

$ oc policy add-role-to-user edit -z default -n demo-ci
error: You must be logged in to the server (attempt to grant extra privileges...

Full log is available here: http://pastebin.test.redhat.com/379928

Comment 1 Jordan Liggitt 2016-06-02 14:58:43 UTC

*** This bug has been marked as a duplicate of bug 1332862 ***


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