Skip to content

Commit

Permalink
[AIRFLOW-XXX] Fix typos in AirflowSecurityManager.has_access (#4778)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
XD-DENG authored and Tao Feng committed Feb 26, 2019
1 parent 22284bc commit 0044260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/www/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ def has_access(self, permission, view_name, user=None):
:param permission: permission on dag_id(e.g can_read, can_edit).
:type permission: str
:param view_name: name of view-menu(e.g dag id is a view-menu as well).
:type permission: str
:type view_name: str
:param user: user name
:type permission: str
:type user: str
:return: a bool whether user could perform certain permission on the dag_id.
:rtype bool
"""
Expand Down

0 comments on commit 0044260

Please sign in to comment.