mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix: Wrong value for permissions id
This commit is contained in:
@@ -97,14 +97,14 @@ class modFTP extends DolibarrModules
|
||||
$this->rights = array(); // Permission array used by this module
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 2800;
|
||||
$this->rights[$r][0] = 2801;
|
||||
$this->rights[$r][1] = 'Use FTP client in read mode (browse and download only)';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 1;
|
||||
$this->rights[$r][4] = 'read';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 2801;
|
||||
$this->rights[$r][0] = 2802;
|
||||
$this->rights[$r][1] = 'Use FTP client in write mode (delete or upload files)';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
|
||||
Reference in New Issue
Block a user