sylius_admin_admin_user:
    resource: |
        alias: sylius.admin_user
        section: admin
        path: users
        templates: "@SyliusAdmin\\Crud"
        except: ['show']
        redirect: index
        grid: sylius_admin_admin_user
        permission: true
        vars:
            all:
                subheader: sylius.ui.manage_users_able_to_access_administration_panel
                templates:
                    form: "@SyliusAdmin/AdminUser/_form.html.twig"
            index:
                icon: lock
    type: sylius.resource

sylius_admin_admin_user_remove_avatar:
    path: /users/{id}/remove-avatar
    methods: [PUT]
    defaults:
        _controller: Sylius\Bundle\AdminBundle\Action\RemoveAvatarAction
