clean branch

This commit is contained in:
Atm-Gregr 2022-04-04 10:21:06 +02:00
parent 53b185ce9c
commit 2009cc96e0

View File

@ -615,9 +615,6 @@ function checkUserAccessToObject($user, array $featuresarray, $objectid = 0, $ta
if ($feature == 'task') {
$feature = 'projet_task';
}
if ($feature == 'banque') {
$feature = 'fk_account@bank_account';
}
$check = array('adherent', 'banque', 'bom', 'don', 'mrp', 'user', 'usergroup', 'payment', 'payment_supplier', 'product', 'produit', 'service', 'produit|service', 'categorie', 'resource', 'expensereport', 'holiday', 'salaries', 'website'); // Test on entity only (Objects with no link to company)
$checksoc = array('societe'); // Test for societe object