chill_main:
    cruds:
        -
            class: 'App\Entity\VendeePerson'
            controller: 'App\Controller\VendeePersonController'
            name: vendeeperson
            base_path: /vendee/vendeeperson
            actions:
                infosociopro_edit:
                    controller_action: 'infosocioproEdit'
                    path: '/{id}/infosociopro/edit'
                    role: CHILL_PERSON_EDIT
                infosociopro_view:
                    controller_action: 'infosocioproView'
                    path: '/{id}/infosociopro/view'
                    role: CHILL_PERSON_VIEW
                entourage_edit:
                    controller_action: 'entourageEdit'
                    path: '/{id}/entourage/edit'
                    role: CHILL_PERSON_EDIT
                entourage_view:
                    controller_action: 'entourageView'
                    path: '/{id}/entourage/view'
                    role: CHILL_PERSON_VIEW
                infomedicale_edit:
                    controller_action: 'infomedicaleEdit'
                    path: '/{id}/infomedicale/edit'
                    role: CHILL_PERSON_EDIT
                infomedicale_view:
                    controller_action: 'infomedicaleView'
                    path: '/{id}/infomedicale/view'
                    role: CHILL_PERSON_VIEW
                infologement_edit:
                    controller_action: 'infologementEdit'
                    path: '/{id}/infologement/edit'
                    role: CHILL_PERSON_EDIT
                infologement_view:
                    controller_action: 'infologementView'
                    path: '/{id}/infologement/view'
                    role: CHILL_PERSON_VIEW
        -
            class: 'App\Entity\VendeePersonMineur'
            controller: 'App\Controller\VendeePersonMineurController'
            name: vendeepersonmineur
            base_path: /vendee/vendeepersonmineur
            actions:
                infofamille_edit:
                    controller_action: 'infofamilleEdit'
                    path: '/{id}/infofamille/edit'
                    role: CHILL_PERSON_EDIT
                infofamille_view:
                    controller_action: 'infofamilleView'
                    path: '/{id}/infofamille/view'
                    role: CHILL_PERSON_VIEW
                scolarite_edit:
                    controller_action: 'scolariteEdit'
                    path: '/{id}/scolarite/edit'
                    role: CHILL_PERSON_EDIT
                scolarite_view:
                    controller_action: 'scolariteView'
                    path: '/{id}/scolarite/view'
                    role: CHILL_PERSON_VIEW
                infomedicale_edit:
                    controller_action: 'infomedicaleEdit'
                    path: '/{id}/infomedicale/edit'
                    role: CHILL_PERSON_EDIT
                infomedicale_view:
                    controller_action: 'infomedicaleView'
                    path: '/{id}/infomedicale/view'
                    role: CHILL_PERSON_VIEW
        -
            class: 'App\Entity\Security\Profile'
            name: vendee_security_profile
            base_path: '/admin/vendee/security/profile'
            base_role: ROLE_ADMIN
            form_class: 'App\Form\Security\ProfileType'
            controller: 'App\Controller\SecurityProfileController'
            actions:
                index:
                    template: '/Security/Profile/index.html.twig'
                    role: ROLE_ADMIN
                new:
                    role: ROLE_ADMIN
                    template: '/Security/Profile/new.html.twig'
                edit:
                    role: ROLE_ADMIN
                    template: '/Security/Profile/edit.html.twig'