mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V
This commit is contained in:
@@ -1226,7 +1226,7 @@ class AdHocCommandAccess(BaseAccess):
|
||||
return False
|
||||
|
||||
def can_delete(self, obj):
|
||||
return False
|
||||
return self.can_read(obj)
|
||||
|
||||
def can_start(self, obj):
|
||||
return self.can_add({
|
||||
|
||||
Reference in New Issue
Block a user