Merge pull request #20577 from FHenry/15.0_fix_modulebuilder
fix: bad permission int modulebuilder template
This commit is contained in:
commit
cc1ee0258b
@ -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
|
$permissiontoadd = $user->rights->mymodule->myobject->write; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles.inc.php
|
||||||
} else {
|
} else {
|
||||||
$permissiontoread = 1;
|
$permissiontoread = 1;
|
||||||
$permission = 1;
|
$permissiontoadd = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Security check (enable the most restrictive one)
|
// Security check (enable the most restrictive one)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user