aboutsummaryrefslogtreecommitdiffstats
path: root/charts/aai-gizmo/resources/config/auth/crud_policy.json
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-22 11:57:18 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-22 11:58:36 -0700
commit9b34a8a4d357fc5a03875f99244f48bdd8b2d03e (patch)
treedbabc5e56188f200913bcefb75424febaabe9952 /charts/aai-gizmo/resources/config/auth/crud_policy.json
parent9a427329607433c038f9a8fec8d866f354881234 (diff)
parent201670e70e53a3a9b7e2e8536e8e6719a8ebbab8 (diff)
OOM code transfer for AAI
Transfer code from oom/kubernetes/aai into the aai/oom tech team repo. Change-Id: I7bcd43ff9acbc12ae36c95e3ebcee567fb7572cf Issue-ID: CIMAN-250 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'charts/aai-gizmo/resources/config/auth/crud_policy.json')
-rw-r--r--charts/aai-gizmo/resources/config/auth/crud_policy.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/charts/aai-gizmo/resources/config/auth/crud_policy.json b/charts/aai-gizmo/resources/config/auth/crud_policy.json
new file mode 100644
index 0000000..7a5007e
--- /dev/null
+++ b/charts/aai-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