Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
commit
c9930ee6ce
@ -1141,7 +1141,7 @@ class Thirdparties extends DolibarrApi
|
|||||||
*/
|
*/
|
||||||
public function getCompanyBankAccount($id)
|
public function getCompanyBankAccount($id)
|
||||||
{
|
{
|
||||||
if (!DolibarrApiAccess::$user->rights->facture->lire) {
|
if (!DolibarrApiAccess::$user->rights->societe->lire) {
|
||||||
throw new RestException(401);
|
throw new RestException(401);
|
||||||
}
|
}
|
||||||
if (empty($id)) {
|
if (empty($id)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user