<commit_before>security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    factories:
        - "%kernel.root_dir%/../vendor/bundles/FOS/TwitterBundle/Resources/config/security_factories.xml"

    providers:
         fos_twitter:
             id: phpsp.twitter.auth

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false
        secured:
            pattern:    ^/
            anonymous: ~
            fos_twitter: true
            logout: ~
            provider: fos_twitter

    access_control:
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/, roles: IS_AUTHENTICATED_FULLY }<commit_msg>Closes #14. Added admin urls to ACL for ROLE_ADMIN users only and made /souphpsp/u/{user} public<commit_after>security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

    factories:
        - "%kernel.root_dir%/../vendor/bundles/FOS/TwitterBundle/Resources/config/security_factories.xml"

    providers:
         fos_twitter:
             id: phpsp.twitter.auth

    firewalls:
        dev:
            pattern:  ^/(_(profiler|wdt)|css|images|js)/
            security: false
        open:
            pattern: ^/souphpsp/u/
            security: false
        secured:
            pattern:    ^/
            anonymous: ~
            fos_twitter: true
            logout: ~
            provider: fos_twitter

    access_control:
        - { path: ^/souphpsp/admin/, roles: ROLE_ADMIN  }
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
        - { path: ^/, roles: IS_AUTHENTICATED_FULLY }
        
{'fraction_non_alphanumeric': 0.0989068193649141, 'fraction_numerical': 0.001041124414367517, 'mean_word_length': 1.9209726443768997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6576372', 'n_tokens_mistral': 646, 'n_tokens_neox': 634, 'n_words': 101}