From 86c7bdeb8c011c1862db75d767d09321cbcac427 Mon Sep 17 00:00:00 2001
From: Philipp Dallig <philipp.dallig@pixelpark.com>
Date: Mon, 4 Sep 2017 14:16:35 +0200
Subject: [PATCH] sirona-aem - Enable dealer search JSON API for forms on test
 and dev

---
 customer/sirona-aem/development.yaml | 1 +
 customer/sirona-aem/test.yaml        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/customer/sirona-aem/development.yaml b/customer/sirona-aem/development.yaml
index 6d302cff..06ed1361 100644
--- a/customer/sirona-aem/development.yaml
+++ b/customer/sirona-aem/development.yaml
@@ -284,6 +284,7 @@ aem::dispatcher::publish_farm:
       - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API
       - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API
       - { type: 'allow', url: '*.updatecheck.json' } # enable update check
+      - { type: 'allow', url: '*.dealers.json' } # enable dealer search JSON API
       - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms
       # Security Rules
       - { type: 'deny', url: '/etc/'  }
diff --git a/customer/sirona-aem/test.yaml b/customer/sirona-aem/test.yaml
index 808a6aea..1b7d8148 100644
--- a/customer/sirona-aem/test.yaml
+++ b/customer/sirona-aem/test.yaml
@@ -281,6 +281,7 @@ aem::dispatcher::publish_farm:
       - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API
       - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API
       - { type: 'allow', url: '*.updatecheck.json' } # enable update check
+      - { type: 'allow', url: '*.dealers.json' } # enable dealer search JSON API
       - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms
       - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token
       # Deny content grabbing
-- 
2.39.5