Fix permission not used
This commit is contained in:
parent
06c97b931b
commit
e5d0bc9d57
@ -93,12 +93,12 @@ class modOauth extends DolibarrModules
|
||||
// $this->rights[$r][4] Niveau 1 pour nommer permission dans code
|
||||
// $this->rights[$r][5] Niveau 2 pour nommer permission dans code
|
||||
|
||||
$r++;
|
||||
/*$r++;
|
||||
$this->rights[$r][0] = 66000;
|
||||
$this->rights[$r][1] = 'OauthAccess';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 1;
|
||||
$this->rights[$r][4] = 'read';
|
||||
$this->rights[$r][4] = 'read';*/
|
||||
|
||||
// Main menu entries
|
||||
$this->menus = array(); // List of menus to add
|
||||
|
||||
Loading…
Reference in New Issue
Block a user