Commit 9d696c8d authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Correction : droits d'accès

parent 02aa8e9d
......@@ -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