Commit e5780e77 authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

Utilisation du privilege pour l'affichage du btn mail-test

parent 07fe9e02
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ use UnicaenMail\Provider\Privilege\MailPrivileges;

$this->headTitle($title);

$canTest = $this->isAllowed(MailPrivileges::getResourceId(MailPrivileges::MAIL_AFFICHER));
$canTest = $this->isAllowed(MailPrivileges::getResourceId(MailPrivileges::MAIL_TEST));

$canAfficherConfiguration = $this->isAllowed(MailPrivileges::getResourceId(MailPrivileges::MAIL_AFFICHER_CONFIG));