1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

added False return for permission check

This commit is contained in:
Wayne Witzel III 2016-06-14 09:53:07 -04:00
parent 568de86423
commit db7cfb23f8

View File

@ -203,6 +203,8 @@ class ProjectUpdatePermission(ModelAccessPermission):
if project and request.user in project.read_role:
return True
return False
def check_post_permission(self, request, view, obj=None):
if request.user.is_superuser:
return True