Remove related attribute of check_access
Remove filter_by_access. Replaced by restrict_queryset. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -444,7 +444,7 @@ class WorkflowInstance(models.Model):
|
||||
If not ACL access to the workflow, filter transition
|
||||
options by each transition ACL access
|
||||
"""
|
||||
queryset = AccessControlList.objects.filter_by_access(
|
||||
queryset = AccessControlList.objects.restrict_queryset(
|
||||
permission=permission_workflow_transition,
|
||||
queryset=queryset,
|
||||
user=_user
|
||||
|
||||
Reference in New Issue
Block a user