Skip to content
Snippets Groups Projects
Commit 0ceeb0f4 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add translation of ECM module

Can not delete a document of permission not owned.
parent c127a84f
No related branches found
No related tags found
No related merge requests found
......@@ -352,7 +352,7 @@ if ($user->rights->ecm->create)
if ($user->rights->ecm->read)
{
$param='&section='.$section;
$formfile->list_of_documents($filearray,'','ecm',$param,1,$relativepath);
$formfile->list_of_documents($filearray,'','ecm',$param,1,$relativepath,$user->rights->ecm->create);
}
// End of page
......
......@@ -104,7 +104,7 @@ class modECM extends DolibarrModules
$r++;
$this->rights[$r][0] = 2501;
$this->rights[$r][1] = 'Soumettre des documents';
$this->rights[$r][1] = 'Soumettre ou supprimer des documents';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'create';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment