summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/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
commit50123f322ca1adc44dfb383355f026e37f1a456d (patch)
tree6565d91afa8517570d1b412f50c9849552c713a3 /kubernetes/aai/charts/gizmo/resources/config/auth/crud_policy.json
parentea2eb8d96d06f459526343322ad27007c7fdba8b (diff)
parent3bce64b0f9293075ea03c89bd9944913bc94290c (diff)
Merge "Adding GIZMO chart to AAI"
Diffstat (limited to 'kubernetes/aai/charts/gizmo/resources/config/auth/crud_policy.json')
-rw-r--r--kubernetes/aai/charts/gizmo/resources/config/auth/crud_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/gizmo/resources/config/auth/crud_policy.json b/kubernetes/aai/charts/gizmo/resources/config/auth/crud_policy.json
new file mode 100644
index 0000000000..d8b065e7f6
--- /dev/null
+++ b/kubernetes/aai/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