mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 00:15:34 +00:00
make sure only users allowed to be a revcipient are saved
This commit is contained in:
parent
94dbc6b240
commit
f9d2d9dc48
|
@ -60,7 +60,7 @@ $folder = $document->getFolder();
|
||||||
// Retrieve a list of all users and groups that have read rights.
|
// Retrieve a list of all users and groups that have read rights.
|
||||||
// Afterwards, reorganize them in two arrays with its key being the
|
// Afterwards, reorganize them in two arrays with its key being the
|
||||||
// userid or groupid
|
// userid or groupid
|
||||||
$docAccess = $document->getReadAccessList(true, true);
|
$docAccess = $document->getReadAccessList($settings->_enableAdminReceipt, $settings->_enableOwnerReceipt);
|
||||||
$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()] = $da;
|
$accessIndex["i"][$da->getID()] = $da;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user