fix: bad poermission int modulebuilder template

This commit is contained in:
Florian HENRY 2022-04-07 10:31:54 +02:00
parent 2913759bb7
commit 291002fe11

View File

@ -132,7 +132,7 @@ if ($enablepermissioncheck) {
$permissiontoadd = $user->rights->mymodule->myobject->write; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php
} else {
$permissiontoread = 1;
$permission = 1;
$permissiontoadd = 1;
}
// Security check (enable the most restrictive one)