{% extends '@Societe/societe/layout.html.twig' %} {% block societe_content %}{% set role_labels = {'ROLE_COMPANY_ADMIN':'Admin société','ROLE_MANAGER':'Manager','ROLE_EMPLOYEE':'Salarié','ROLE_COMMERCIAL':'Commercial','ROLE_PROJECT_MANAGER':'Chef de projet','ROLE_BILLING':'Facturation','ROLE_ACCOUNTING':'Comptabilité','ROLE_EXPENSE':'Dépenses','ROLE_SUPPORT':'Support','ROLE_HR':'RH'} %}

Gérer les rôles

{{ employee.prenom }} {{ employee.nom }} · {{ societe.nom }}

{{ employee.roles|filter(r => r != 'ROLE_USER')|length }} rôles attribués
Information : les rôles déterminent les accès aux modules Capsule. Le dernier Admin société est protégé.

Rôles attribués

Cochez les rôles à attribuer à ce salarié.

{{ employee.roles|filter(r => r != 'ROLE_USER')|length }} / {{ role_choices|length }} actifs
{% for role in role_choices %}{% endfor %}
Annuler
{% endblock %}