Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-3072

Only admin can view logs in RBAC UI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: ui
    • Labels:
      None

      Description

      With RBAC enabled, only users with role admin can view logs.

      The default roles (excluding public) include permission can_log which allows to open the /log page, however the actual log message is loaded with another XHR request which required the additional permission get_logs_with_metadata.

      My suggestion is to add the permission and assign tog viewer role. Or is there a cause why only admin should be able to see logs?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seelmann Stefan Seelmann
                Reporter:
                seelmann Stefan Seelmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: