Non-Admin Users Unable to View Logs Under Developer Console in RHOCP 4

Solution Verified - Updated -

Issue

  • Non-admin users are unable to view logs of their respective application tenants within the Developer Console.
  • Non-admin user is attempting to view logs for an application in the Developer Console, but they are receiving a Forbidden: Missing permissions to get logs error.
  • The following is a screenshot where a non-admin user rolex is unable to view logs of their own namespace ns1 in the Observe > Logs section of the Developer Console:

    Non-admin user unable to view logs
    Non-admin user unable to view logs

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5
    • 6
  • Loki Operator
    • 5
    • 6

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