[ 
https://issues.apache.org/jira/browse/AIRFLOW-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682858#comment-16682858
 ] 

ASF GitHub Bot commented on AIRFLOW-3072:
-----------------------------------------

seelmann opened a new pull request #4175: [AIRFLOW-3072] Assign permission 
get_logs_with_metadata to viewer role
URL: https://github.com/apache/incubator-airflow/pull/4175
 
 
   Pull request for v1-10-test branch.
   
   Change in https://github.com/apache/incubator-airflow/pull/3913 cannot be 
applied to v1-10-test branch because the test class doesn't exist there.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>             Fix For: 1.10.1
>
>
> 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)

Reply via email to