<commit_before># To get started with security, check out the documentation:
# http://symfony.com/doc/current/book/security.html
security:
    encoders:
        AppBundle\Entity\User:
            algorithm: bcrypt

    # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
    providers:
        db_provider:
            entity:
                class: AppBundle:User
                property: username
        in_memory:
            memory: ~

    firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        main:
            pattern: ^/
            http_basic: ~
            provider: db_provider
            anonymous: ~
            form_login:
                login_path: user_signin
                check_path: user_signin
            logout:
                path: /logout
                target: /
            # activate different ways to authenticate

            # http_basic: ~
            # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate

            # form_login: ~
            # http://symfony.com/doc/current/cookbook/security/form_login_setup.html

    access_control:
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/dealer, roles: [ROLE_DEALER, ROLE_ADMIN]}
        - { path: ^/manager, roles: [ROLE_MANAGER, ROLE_ADMIN]}
        - { path: ^/admin, roles: [ROLE_ADMIN]}

    role_hierarchy:
        ROLE_DEVELOPER: [ROLE_USER, ROLE_DEALER, ROLE_MANAGER, ROLE_ADMIN]<commit_msg>Added some path to security system<commit_after># To get started with security, check out the documentation:
# http://symfony.com/doc/current/book/security.html
security:
    encoders:
        AppBundle\Entity\User:
            algorithm: bcrypt

    # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
    providers:
        db_provider:
            entity:
                class: AppBundle:User
                property: username
        in_memory:
            memory: ~

    firewalls:
        # disables authentication for assets and the profiler, adapt it according to your needs
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        main:
            pattern: ^/
            http_basic: ~
            provider: db_provider
            anonymous: ~
            form_login:
                login_path: user_signin
                check_path: user_signin
            logout:
                path: /logout
                target: /
            # activate different ways to authenticate

            # http_basic: ~
            # http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate

            # form_login: ~
            # http://symfony.com/doc/current/cookbook/security/form_login_setup.html

    access_control:
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/dealer, roles: [ROLE_DEALER, ROLE_ADMIN]}
        - { path: ^/manager, roles: [ROLE_MANAGER, ROLE_ADMIN]}
        - { path: ^/admin, roles: [ROLE_ADMIN]}
        - { path: ^/files, roles: [ROLE_ADMIN, ROLE_DEALER]}
        - { path: ^/user, roles: [ROLE_ADMIN, ROLE_DEALER]}

    role_hierarchy:
        ROLE_DEVELOPER: [ROLE_USER, ROLE_DEALER, ROLE_MANAGER, ROLE_ADMIN]
{'fraction_non_alphanumeric': 0.1012075905692927, 'fraction_numerical': 0.0, 'mean_word_length': 1.8799668874172186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '775914', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1044, 'n_words': 202}