Commit 5136ae95 authored by THEO GUILLON's avatar THEO GUILLON
Browse files

Merge branch...

Merge branch '385-pb-d-affichage-d-un-coresponsable-et-d-un-sous-traitant-lors-de-la-selection' into '1.2.0'

Resolve "Pb d'affichage d'un coresponsable et d'un sous-traitant lors de la selection"

See merge request libriciel/pole-citoyens/web-DPO/web-DPO!356
parents 02aa8e9d 9d696c8d
......@@ -88,10 +88,10 @@ class FichesController extends AppController
} elseif ($action === 'edit') {
$this->Droits->assertNotSu();
} elseif ($action === 'ajax_update_listing_responsable') {
$this->Droits->assertAuthorized([ListeDroit::GESTION_CORESPONSABLE_TRAITEMENT]);
$this->Droits->assertAuthorized([ListeDroit::REDIGER_TRAITEMENT]);
$this->Droits->assertNotSu();
} elseif ($action === 'ajax_update_listing_soustraitant') {
$this->Droits->assertAuthorized([ListeDroit::GESTION_SOUSTRAITANT_TRAITEMENT]);
$this->Droits->assertAuthorized([ListeDroit::REDIGER_TRAITEMENT]);
$this->Droits->assertNotSu();
} elseif ($action === 'show') {
$this->Droits->assertNotSu();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment