mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-05 16:42:53 +01:00
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/don/card.php htdocs/public/test/badges.php htdocs/public/test/test_exec.php
This commit is contained in:
@@ -2509,7 +2509,7 @@ function dol_check_secure_access_document($modulepart, $original_file, $entity,
|
||||
if (empty($entity) || empty($conf->categorie->multidir_output[$entity])) {
|
||||
return array('accessallowed'=>0, 'error'=>'Value entity must be provided');
|
||||
}
|
||||
if ($fuser->rights->categorie->{$lire}) {
|
||||
if ($fuser->rights->categorie->{$lire} || $fuser->rights->takepos->run) {
|
||||
$accessallowed = 1;
|
||||
}
|
||||
$original_file = $conf->categorie->multidir_output[$entity].'/'.$original_file;
|
||||
|
||||
Reference in New Issue
Block a user