Commit bf217038 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout du filtre et des Privilèges dans le provider

parent a4df6257
Loading
Loading
Loading
Loading
+16
Changes for module/Application/src/Application/Provider/Privilege/IndicateurPrivileges.php: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace Application\Provider\Privilege;

use UnicaenAuth\Provider\Privilege\Privileges;

/**
 * Liste des privilèges utilisables.
 */
class IndicateurPrivileges extends Privileges
{
    const INDICATEUR_CONSULTATION                  = 'indicateur-consultation';
    const INDICATEUR_EXPORTATION                   = 'indicateur-exportation';
    const INDICATEUR_RAFRAICHISSEMENT              = 'indicateur-rafraichissement';

}
 No newline at end of file
+1
Changes for module/Application/view/application/role/partial/form-filtrage.phtml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ echo $this->filterPanel([
            ['value' => $v = "etablissement",           'label' => $this->translate("Établissement") ],
            ['value' => $v = "ecole-doctorale",         'label' => $this->translate("École doctorale") ],
            ['value' => $v = "unite-recherche",         'label' => $this->translate("Unité de recherche") ],
            ['value' => $v = "indicateur",              'label' => $this->translate("Indicateur") ],
            ['value' => $v = "substitution",            'label' => $this->translate("Substitution") ],
            ['value' => $v = "validation",              'label' => $this->translate("Validation") ],
            ['value' => $v = "fichier-divers",          'label' => $this->translate("Fichier") ],