fix: bad poermission int modulebuilder template
This commit is contained in:
parent
2913759bb7
commit
291002fe11
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user