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

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

jgao54 closed pull request #3916: [AIRFLOW-3085] Bug fix to allow log display 
in RBAC UI
URL: https://github.com/apache/incubator-airflow/pull/3916
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/www_rbac/security.py b/airflow/www_rbac/security.py
index 55570debf6..afab0b803e 100644
--- a/airflow/www_rbac/security.py
+++ b/airflow/www_rbac/security.py
@@ -96,6 +96,7 @@
     'can_rendered',
     'can_pickle_info',
     'can_version',
+    'can_get_logs_with_metadata',
 }
 
 user_perms = {


 

----------------------------------------------------------------
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]


> Log viewing not possible in default RBAC setting
> ------------------------------------------------
>
>                 Key: AIRFLOW-3085
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3085
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Joy Gao
>            Priority: Major
>
> Aside from Admin role, all other roles are not able to view logs right now 
> due to a missing permission in the default setting. The permission should be 
> added to Viewer/User/Op as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to