mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
allow revision only for users allowed by settings, fix html
This commit is contained in:
parent
736b916286
commit
70db94f83c
|
@ -70,7 +70,7 @@ $folder = $document->getFolder();
|
|||
// Retrieve a list of all users and groups that have read rights.
|
||||
// Afterwards, reorganize them in two arrays with its key being the
|
||||
// userid or groupid
|
||||
$docAccess = $document->getReadAccessList();
|
||||
$docAccess = $document->getReadAccessList($settings->_enableAdminRevApp, $settings->_enableOwnerRevApp);
|
||||
$accessIndex = array("i"=>array(), "g"=>array());
|
||||
foreach ($docAccess["users"] as $i=>$da) {
|
||||
$accessIndex["i"][$da->getID()] = $da;
|
||||
|
|
Loading…
Reference in New Issue
Block a user