diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index f7a5f7398..cce07f3ac 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -272,6 +272,22 @@ function addFiles() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessUser = $dms->getUser($r['reviewerUserID']); + echo "
".getMLText("mandatory_reviewer_no_access", array('user'=>htmlspecialchars($noAccessUser->getFullName()." (".$noAccessUser->getLogin().")")))."
"; + } + } + } +?> @@ -291,6 +307,22 @@ function addFiles() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessGroup = $dms->getGroup($r['reviewerGroupID']); + echo "
".getMLText("mandatory_reviewergroup_no_access", array('group'=>htmlspecialchars($noAccessGroup->getName())))."
"; + } + } + } +?> @@ -319,6 +351,22 @@ function addFiles() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessUser = $dms->getUser($r['approverUserID']); + echo "
".getMLText("mandatory_approver_no_access", array('user'=>htmlspecialchars($noAccessUser->getFullName()." (".$noAccessUser->getLogin().")")))."
"; + } + } + } +?> @@ -339,6 +387,22 @@ function addFiles() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessGroup = $dms->getGroup($r['approverGroupID']); + echo "
".getMLText("mandatory_approvergroup_no_access", array('group'=>htmlspecialchars($noAccessGroup->getName())))."
"; + } + } + } +?> diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index d631e39e6..b98e757d2 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -193,7 +193,7 @@ if(!is_writeable($settings->_configFilePath)) { diff --git a/views/bootstrap/class.UpdateDocument.php b/views/bootstrap/class.UpdateDocument.php index 2d91a5645..694cdd975 100644 --- a/views/bootstrap/class.UpdateDocument.php +++ b/views/bootstrap/class.UpdateDocument.php @@ -198,6 +198,22 @@ function checkForm() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessUser = $dms->getUser($r['reviewerUserID']); + echo "
".getMLText("mandatory_reviewer_no_access", array('user'=>htmlspecialchars($noAccessUser->getFullName()." (".$noAccessUser->getLogin().")")))."
"; + } + } + } +?> @@ -215,6 +231,23 @@ function checkForm() if ($mandatory) print ""; else print ""; } +?> + +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessGroup = $dms->getGroup($r['reviewerGroupID']); + echo "
".getMLText("mandatory_reviewergroup_no_access", array('group'=>htmlspecialchars($noAccessGroup->getName())))."
"; + } + } + } ?> @@ -242,6 +275,22 @@ function checkForm() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessUser = $dms->getUser($r['approverUserID']); + echo "
".getMLText("mandatory_approver_no_access", array('user'=>htmlspecialchars($noAccessUser->getFullName()." (".$noAccessUser->getLogin().")")))."
"; + } + } + } +?> @@ -261,6 +310,22 @@ function checkForm() } ?> +getID()) + $hasAccess = true; + } + if(!$hasAccess) { + $noAccessGroup = $dms->getGroup($r['approverGroupID']); + echo "
".getMLText("mandatory_approvergroup_no_access", array('group'=>htmlspecialchars($noAccessGroup->getName())))."
"; + } + } + } +?>