clean branch
This commit is contained in:
parent
53b185ce9c
commit
2009cc96e0
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user