[
https://issues.apache.org/jira/browse/AIRFLOW-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seelmann updated AIRFLOW-3072:
-------------------------------------
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?
was:
With RBAC enabled, only users with role admin can view logs.
Cause is that there is no permission for {{get_logs_with_metadata}} defined in
{{security.py}}.
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?
> Only admin can view logs in RBAC UI
> -----------------------------------
>
> Key: AIRFLOW-3072
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3072
> Project: Apache Airflow
> Issue Type: Bug
> Components: ui
> Affects Versions: 1.10.0
> Reporter: Stefan Seelmann
> Assignee: Stefan Seelmann
> Priority: Major
>
> 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?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)