diff options
Diffstat (limited to 'kubernetes/pomba/charts/pomba-search-data/resources/config/auth')
-rw-r--r-- | kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json b/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json index a83422753d..00a6de5f4a 100644 --- a/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json +++ b/kubernetes/pomba/charts/pomba-search-data/resources/config/auth/search_policy.json @@ -1,31 +1,24 @@ { - "roles": [ - { - "name": "admin", - "functions": [ + "roles": [{ + "name": "admin", + "functions": [{ + "name": "search", + "methods": [{ + "name": "GET" + }, { - "name": "search", - "methods": [ - { - "name": "GET" - }, - { - "name": "DELETE" - }, - { - "name": "PUT" - }, - { - "name": "POST" - } - ] - } - ], - "users": [ + "name": "DELETE" + }, + { + "name": "PUT" + }, { - "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA" + "name": "POST" } ] - } - ] + }], + "users": [{ + "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA" + }] + }] }
\ No newline at end of file |