diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index 91c9adb71..4619d9273 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -722,11 +722,21 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { } } else { if($workflow) { + /* Check if user is involved in workflow */ + $user_is_involved = false; + foreach($transitions as $transition) { + if($latestContent->triggerWorkflowTransitionIsAllowed($user, $transition)) { + $user_is_involved = true; + } + } ?>