File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
symfony/security-bundle/4.4 Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ security :
2+ # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
3+ providers :
4+ in_memory : { memory: null }
5+ firewalls :
6+ dev :
7+ pattern : ^/(_(profiler|wdt)|css|images|js)/
8+ security : false
9+ main :
10+ anonymous : lazy
11+
12+ # activate different ways to authenticate
13+ # https://symfony.com/doc/current/security.html#firewalls-authentication
14+
15+ # https://symfony.com/doc/current/security/impersonating_user.html
16+ # switch_user: true
17+
18+ # Easy way to control access for large sections of your site
19+ # Note: Only the *first* access control that matches will be used
20+ access_control :
21+ # - { path: ^/admin, roles: ROLE_ADMIN }
22+ # - { path: ^/profile, roles: ROLE_USER }
Original file line number Diff line number Diff line change 1+ {
2+ "bundles" : {
3+ "Symfony\\ Bundle\\ SecurityBundle\\ SecurityBundle" : [" all" ]
4+ },
5+ "copy-from-recipe" : {
6+ "config/" : " %CONFIG_DIR%/"
7+ },
8+ "aliases" : [" security" ]
9+ }
You can’t perform that action at this time.
0 commit comments