Skip to content

Commit

Permalink
Add security.yaml contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindula committed Apr 24, 2024
1 parent d961478 commit d535a18
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions hochwarth/symfony-version/1.2/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"bundles": {
"HochwarthVersionBundle": [
"HochwarthVersionBundle\\HochwarthVersionBundle": [
"all"
]
},
Expand All @@ -12,5 +12,14 @@
"VERSION_ACCESS_KEY": "CHANGEME",
"#2": "Access Secret",
"VERSION_ACCESS_SECRET": "CHANGEME"
}
},
"add-lines": [
{
"file": "config/packages/security.yaml",
"requires": "symfony/security-bundle",
"position": "after_target",
"target": " access_control:",
"content": "\n - { path: ^/hochwarth-version/version, roles: PUBLIC_ACCESS }"
}
]
}

0 comments on commit d535a18

Please sign in to comment.