Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V

This commit is contained in:
Chris Church
2015-05-11 20:14:15 -04:00
parent d730859575
commit 9e898bf42a
3 changed files with 21 additions and 10 deletions

View File

@@ -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({