Add translation of ECM module
Can not delete a document of permission not owned.
This commit is contained in:
parent
c127a84fd5
commit
0ceeb0f4e6
@ -352,7 +352,7 @@ if ($user->rights->ecm->create)
|
|||||||
if ($user->rights->ecm->read)
|
if ($user->rights->ecm->read)
|
||||||
{
|
{
|
||||||
$param='&section='.$section;
|
$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
|
// End of page
|
||||||
|
|||||||
@ -104,7 +104,7 @@ class modECM extends DolibarrModules
|
|||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->rights[$r][0] = 2501;
|
$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][2] = 'w';
|
||||||
$this->rights[$r][3] = 1;
|
$this->rights[$r][3] = 1;
|
||||||
$this->rights[$r][4] = 'create';
|
$this->rights[$r][4] = 'create';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user