Turn off permission checking for the workflow transition link
to allow it to display even when users have been granted the transition permission to only a few transitions and no for the whole workflow itself. GitLab issue #321. cc: @roger.hunwicks Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -76,7 +76,7 @@ link_workflow_instance_detail = Link(
|
||||
view='document_states:workflow_instance_detail', args='resolved_object.pk'
|
||||
)
|
||||
link_workflow_instance_transition = Link(
|
||||
permissions=(permission_workflow_transition,), text=_('Transition'),
|
||||
text=_('Transition'),
|
||||
view='document_states:workflow_instance_transition',
|
||||
args='resolved_object.pk'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user