summaryrefslogtreecommitdiffstats
path: root/charts/gizmo/resources/config/auth/crud_policy.json
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2018-03-28 13:29:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-28 13:29:53 +0000
commitf8d8ce1c0bf1797dab83a47766addf901c4dd150 (patch)
tree0c8c25e836305a1bfab899f96362232361b57681 /charts/gizmo/resources/config/auth/crud_policy.json
parent5d8bf50edbba2a6eb9950af35b9c3fab596c64e7 (diff)
parent274c579619db6e792e77e93e51cf760bc0a8e263 (diff)
Merge "Adding GIZMO chart to AAI"
Diffstat (limited to 'charts/gizmo/resources/config/auth/crud_policy.json')
-rw-r--r--charts/gizmo/resources/config/auth/crud_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/charts/gizmo/resources/config/auth/crud_policy.json b/charts/gizmo/resources/config/auth/crud_policy.json
new file mode 100644
index 0000000..d8b065e
--- /dev/null
+++ b/charts/gizmo/resources/config/auth/crud_policy.json
@@ -0,0 +1,18 @@
+{
+ "roles": [
+ {
+ "name": "admin",
+ "functions": [
+ {
+ "name": "crud", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" }, { "name": "PATCH"} ]
+ }
+ ],
+
+ "users": [
+ {
+ "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file