mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
add access check (still commented out)
This commit is contained in:
parent
64c0b37726
commit
1578b12cf9
|
@ -29,6 +29,10 @@ include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||||
$controller = Controller::factory($tmp[1]);
|
$controller = Controller::factory($tmp[1]);
|
||||||
|
//$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||||
|
//if (!$accessop->check_controller_access($controller, $_POST)) {
|
||||||
|
// UI::exitError(getMLText("document_title", array("documentname" => "")),getMLText("access_denied"));
|
||||||
|
//}
|
||||||
|
|
||||||
/* Check if the form data comes for a trusted request */
|
/* Check if the form data comes for a trusted request */
|
||||||
if(!checkFormKey('removedocument')) {
|
if(!checkFormKey('removedocument')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user