forked from Wavyzz/dolibarr
FIX clean code
This commit is contained in:
@@ -67,7 +67,7 @@ class Users extends DolibarrApi
|
||||
global $db, $conf;
|
||||
|
||||
$obj_ret = array();
|
||||
se
|
||||
|
||||
if(! DolibarrApiAccess::$user->rights->user->user->lire) {
|
||||
throw new RestException(401, "You are not allowed to read list of users");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user