Nom Prénom |
{{ revperms[perm] }} |
||
---|---|---|---|
{{ user.nom }} {{ user.prenom }} (Promo {{ user.annee }}) | {% set fr = revperms[perm] %} {% if is_granted(perm) and user.hasRole(perm) and isgranted(perm,user) %} {% elseif is_granted(perm) and not isgranted(perm,user) and not user.hasRole(perm) %} {% elseif isgranted(perm,user) and not user.hasRole(perm) %} {% else %} {% if isgranted(perm,user) %} {% else %} {% endif %} {% endif %} | {% if is_granted('ROLE_ALLOWED_TO_SWITCH') and not is_granted('ROLE_PREVIOUS_ADMIN') %}Impersonate{% endif %} Editer |