mirror of
https://github.com/ansible/awx.git
synced 2026-03-14 15:37:29 -02:30
omit project can_cancel check from access logic
This commit is contained in:
@@ -985,8 +985,6 @@ class ProjectUpdateAccess(BaseAccess):
|
||||
|
||||
@check_superuser
|
||||
def can_cancel(self, obj):
|
||||
if not obj.can_cancel:
|
||||
return False
|
||||
if self.user == obj.created_by:
|
||||
return True
|
||||
# Project updates cascade delete with project, admin role descends from org admin
|
||||
|
||||
Reference in New Issue
Block a user