Merge branch 'seeddms-5.0.x' into seeddms-5.1.x

This commit is contained in:
Uwe Steinmann 2016-08-02 11:34:17 +02:00
commit 5adaf41288
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@
Changes in version 4.3.28 Changes in version 4.3.28
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
- add expiration in list of documents - add expiration in list of documents
- fix SetReviewersApprovers if reviewer/approver is an admin or the owner
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 4.3.27 Changes in version 4.3.27

View File

@ -64,7 +64,7 @@ $folder = $document->getFolder();
// Retrieve a list of all users and groups that have review / approve // Retrieve a list of all users and groups that have review / approve
// privileges. // privileges.
$docAccess = $document->getReadAccessList(); $docAccess = $document->getReadAccessList($settings->_enableAdminRevApp, $settings->_enableOwnerRevApp);
$accessIndex = array("i"=>array(), "g"=>array()); $accessIndex = array("i"=>array(), "g"=>array());
foreach ($docAccess["users"] as $i=>$da) { foreach ($docAccess["users"] as $i=>$da) {
$accessIndex["i"][$da->getID()] = $i; $accessIndex["i"][$da->getID()] = $i;