Fix: compatibility with viewimage and possibility to just view a document (not download)
This commit is contained in:
parent
1faab4920d
commit
8b568d29f7
@ -98,10 +98,17 @@ class modECM extends DolibarrModules
|
||||
$this->rights[$r][1] = 'Consulter les documents';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 1;
|
||||
$this->rights[$r][4] = 'read';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 2502;
|
||||
$this->rights[$r][1] = 'Telecharger les documents';
|
||||
$this->rights[$r][2] = 'r';
|
||||
$this->rights[$r][3] = 1;
|
||||
$this->rights[$r][4] = 'download';
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 2502;
|
||||
$this->rights[$r][0] = 2503;
|
||||
$this->rights[$r][1] = 'Soumettre ou supprimer des documents';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 1;
|
||||
|
||||
@ -614,7 +614,8 @@ Permission2411=Read actions (events or tasks) of others
|
||||
Permission2412=Create/modify actions (events or tasks) of others
|
||||
Permission2413=Delete actions (events or tasks) of others
|
||||
Permission2501=Read documents
|
||||
Permission2502=Submit or delete documents
|
||||
Permission2502=Download documents
|
||||
Permission2503=Submit or delete documents
|
||||
Permission2515=Setup documents directories
|
||||
DictionnaryCompanyType=Company types
|
||||
DictionnaryCompanyJuridicalType=Juridical kinds of company
|
||||
|
||||
@ -619,8 +619,9 @@ Permission2403= Supprimer les actions (événements ou tâches) liées à son co
|
||||
Permission2411= Lire les actions (événements ou tâches) des autres
|
||||
Permission2412= Créer/modifier les actions (événements ou tâches) pour les autres
|
||||
Permission2413= Supprimer les actions (événements ou tâches) pour les autres
|
||||
Permission2501= Consulter les documents
|
||||
Permission2502= Soumettre ou supprimer des documents
|
||||
Permission2501= Lire les documents
|
||||
Permission2502= Récupérer les documents
|
||||
Permission2503= Soumettre ou supprimer des documents
|
||||
Permission2515= Administrer les rubriques de documents
|
||||
Permission8555= Utilisation du module
|
||||
Permission8556= Définir les sites ecommerce
|
||||
|
||||
Loading…
Reference in New Issue
Block a user