diff --git a/hochwarth/symfony-version/1.2/manifest.json b/hochwarth/symfony-version/1.2/manifest.json index 170c6ea..11ecfe4 100644 --- a/hochwarth/symfony-version/1.2/manifest.json +++ b/hochwarth/symfony-version/1.2/manifest.json @@ -1,6 +1,6 @@ { "bundles": { - "HochwarthVersionBundle": [ + "HochwarthVersionBundle\\HochwarthVersionBundle": [ "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 }" + } + ] } \ No newline at end of file