I have the following code:
My config/security.yml
security: ... access_control: - { path: ^/admin, roles: [IS_AUTHENTICATED_FULLY] }