Files
symfony-flex-recipes/symfony.security-bundle.4.4.json
github-action botandgithub-action bot d66972e1ac Update Flex endpoint
2021-09-23 15:02:48 +00:00

49 lines
2.1 KiB
JSON

{
"manifests": {
"symfony/security-bundle": {
"manifest": {
"bundles": {
"Symfony\\Bundle\\SecurityBundle\\SecurityBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/security.yaml": {
"contents": [
"security:",
" # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers",
" providers:",
" users_in_memory: { memory: null }",
" firewalls:",
" dev:",
" pattern: ^/(_(profiler|wdt)|css|images|js)/",
" security: false",
" main:",
" anonymous: lazy",
" provider: users_in_memory",
"",
" # activate different ways to authenticate",
" # https://symfony.com/doc/current/security.html#firewalls-authentication",
"",
" # https://symfony.com/doc/current/security/impersonating_user.html",
" # switch_user: true",
"",
" # 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: ^/admin, roles: ROLE_ADMIN }",
" # - { path: ^/profile, roles: ROLE_USER }",
""
],
"executable": false
}
},
"ref": "7b4408dc203049666fe23fabed23cbadc6d8440f"
}
}
}