This reverts commit 65600048b5
.
This commit is contained in:
Родитель
8b71cb3cf6
Коммит
b35972fc9c
|
@ -339,8 +339,8 @@ class AirflowSecurityManager(SecurityManager, LoggingMixin):
|
|||
pvms = (
|
||||
sesh.query(sqla_models.PermissionView)
|
||||
.filter(or_(
|
||||
sqla_models.PermissionView.permission is None, # noqa pylint: disable=singleton-comparison
|
||||
sqla_models.PermissionView.view_menu is None, # noqa pylint: disable=singleton-comparison
|
||||
sqla_models.PermissionView.permission == None, # noqa pylint: disable=singleton-comparison
|
||||
sqla_models.PermissionView.view_menu == None, # noqa pylint: disable=singleton-comparison
|
||||
))
|
||||
)
|
||||
# Since FAB doesn't define ON DELETE CASCADE on these tables, we need
|
||||
|
|
Загрузка…
Ссылка в новой задаче