mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
- replace getApproversList() by getReadUserList()
This commit is contained in:
parent
0cd13b5bfa
commit
af54fcb645
|
@ -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){
|
||||
|
||||
|
|
|
@ -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){
|
||||
|
||||
|
|
|
@ -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){
|
||||
|
||||
|
|
|
@ -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){
|
||||
|
||||
|
|
|
@ -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();">
|
||||
|
|
|
@ -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()));
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue
Block a user