Binding a given role to a user in OpenShift does not appear to work

Solution In Progress - Updated -

Issue

Binding a role to a user does not fail or indicate any error, yet the user is still not able to perform actions permitted within the bound role:

# oc adm policy add-cluster-role-to-user cluster-readers user1
[user1@openshiftmaster01:~]$ oc get images
Error from server (Forbidden): images.image.openshift.io
is forbidden: User "user1" cannot list images.image.openshift.io
at the cluster scope: User "user1" cannot list all images.image.openshift.io in the cluster

Environment

  • OpenShift Container Platform
    • 3.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content