mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
create Access Operation for view
This commit is contained in:
parent
9e6573ecc7
commit
5202240f2f
|
@ -46,8 +46,6 @@ if ($folder->getAccessMode($user) < M_READWRITE) {
|
||||||
UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))),getMLText("access_denied"));
|
UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($folder->getName()))),getMLText("access_denied"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$accessop = new SeedDMS_AccessOperation($dms, $folder, $user, $settings);
|
|
||||||
|
|
||||||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder, SeedDMS_Core_AttributeDefinition::objtype_all));
|
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_folder, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||||
|
|
||||||
if($view) {
|
if($view) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user