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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.