Merge pull request #8323 from atm-alexis/FIX_module_right_use
FIX module builder good write to add
This commit is contained in:
commit
1e4dd72c23
@ -113,7 +113,7 @@ if (empty($reshook))
|
||||
{
|
||||
$error=0;
|
||||
|
||||
$permissiontoadd = $user->rights->mymodule->create;
|
||||
$permissiontoadd = $user->rights->mymodule->write;
|
||||
$permissiontodelete = $user->rights->mymodule->delete;
|
||||
$backurlforlist = dol_buildpath('/mymodule/myobject_list.php',1);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user