Update RBAC for adding approval nodes

This commit is contained in:
beeankha
2019-08-14 15:10:35 -04:00
committed by Ryan Petrello
parent f7d6f4538c
commit cf436eea37
3 changed files with 10 additions and 5 deletions

View File

@@ -2790,9 +2790,6 @@ class WorkflowApprovalAccess(BaseAccess):
model = WorkflowApproval
prefetch_related = ('created_by', 'modified_by',)
def can_read(self, obj):
return True
def can_use(self, obj):
return True