- replace getApproversList() by getReadUserList()

This commit is contained in:
steinm 2013-02-11 13:56:59 +00:00
parent 0cd13b5bfa
commit af54fcb645
8 changed files with 8 additions and 8 deletions

View File

@ -113,7 +113,7 @@ if (isset($_POST["grpApprovers"])) {
}
// add mandatory reviewers/approvers
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$res=$user->getMandatoryReviewers();
foreach ($res as $r){

View File

@ -117,7 +117,7 @@ if( move_uploaded_file( $source_file_path, $target_file_path ) ) {
}
// add mandatory reviewers/approvers
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$res=$user->getMandatoryReviewers();
foreach ($res as $r){

View File

@ -127,7 +127,7 @@ if ($_FILES['userfile']['error'] == 0) {
}
// add mandatory reviewers/approvers
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$res=$user->getMandatoryReviewers();
foreach ($res as $r){

View File

@ -110,7 +110,7 @@ if( move_uploaded_file( $source_file_path, $target_file_path ) ) {
}
// add mandatory reviewers/approvers
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$res=$user->getMandatoryReviewers();
foreach ($res as $r){

View File

@ -94,7 +94,7 @@ class LetoDMS_View_AddDocument extends LetoDMS_Bootstrap_Style {
// Retrieve a list of all users and groups that have review / approve
// privileges.
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$this->contentSubHeading(getMLText("document_infos"));
?>
<form action="../op/op.AddDocument.php" enctype="multipart/form-data" method="post" name="form1" onsubmit="return checkForm();">

View File

@ -58,7 +58,7 @@ function chooseCategory(form, cats) {
// Retrieve a list of all users and groups that have review / approve
// privileges.
$docAccess = $folder->getApproversList();
$docAccess = $folder->getReadAccessList();
$this->printUploadApplet('../op/op.AddMultiDocument.php', array('folderid'=>$folder->getId()));

View File

@ -47,7 +47,7 @@ class LetoDMS_View_SetReviewersApprovers extends LetoDMS_Bootstrap_Style {
$this->contentHeading(getMLText("change_assignments"));
// Retrieve a list of all users and groups that have review / approve privileges.
$docAccess = $document->getApproversList();
$docAccess = $document->getReadAccessList();
// Retrieve list of currently assigned reviewers and approvers, along with
// their latest status.

View File

@ -163,7 +163,7 @@ function checkForm()
if($workflowmode == 'traditional') {
// Retrieve a list of all users and groups that have review / approve
// privileges.
$docAccess = $document->getApproversList();
$docAccess = $document->getReadAccessList();
?>
<tr>
<td colspan="2">