Fix permission not used

This commit is contained in:
Laurent Destailleur 2016-01-09 00:34:15 +01:00
parent 06c97b931b
commit e5d0bc9d57

View File

@ -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