/
home
/
obinna
/
html
/
boazapp
/
config
/
packages
/
Upload File
HOME
security: role_hierarchy: ROLE_MANAGEMENT: [ROLE_ADMIN] ROLE_ADMIN: [ROLE_REP] # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: # in_memory: { memory: null } app_user_provider: entity: class: App\Entity\User property: username encoders: App\Entity\User: algorithm: bcrypt firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: true guard: authenticators: - App\Security\LoginFormAuthenticator logout: path: logout remember_me: secret: '%kernel.secret%' # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used access_control: - { path: ^/release/run/migrations, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/release/test/testing, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/login, role: IS_AUTHENTICATED_ANONYMOUSLY } # - { path: ^/release/run/migrations, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: ROLE_MANAGEMENT } - { path: ^/depot/delete, role: ROLE_MANAGEMENT } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/index, role: ROLE_REP } - { path: ^/loading, role: ROLE_REP } - { path: ^/release/sign, role: ROLE_ADMIN } - { path: ^/release/sign/authorised, role: ROLE_MANAGEMENT } - { path: ^/user, role: ROLE_REP } - { path: ^/release, role: ROLE_ADMIN } - { path: ^/generate, role: ROLE_ADMIN } - { path: ^/cargo, role: ROLE_ADMIN }