Skip to content

Commit

Permalink
Fix: Permission check on bank account
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 16, 2011
1 parent 7586204 commit 5e00e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/lib/functions.lib.php
Expand Up @@ -1862,7 +1862,7 @@ function restrictedArea($user, $features='societe', $objectid=0, $dbtablename=''
{
$sql='';

$check = array('user','usergroup','produit','service','produit|service'); // Test on entity only (Objects with no link to company)
$check = array('banque','user','usergroup','produit','service','produit|service'); // Test on entity only (Objects with no link to company)
$checksoc = array('societe'); // Test for societe object
$checkother = array('contact'); // Test on entity and link to societe. Allowed if link is empty (Ex: contacts...).
$checkproject = array('projet'); // Test for project object
Expand Down

0 comments on commit 5e00e2d

Please sign in to comment.