summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/osaaf.cql
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-07-12 11:14:10 -0500
committerInstrumental <jonathan.gathman@att.com>2018-07-12 11:15:07 -0500
commit9ec2895301056a9e8967eadb139e56f03776fe26 (patch)
tree6a25ad45269de5149462c51a020b60e245e18ddd /auth/auth-cass/src/main/cql/osaaf.cql
parentd37b5467a3b8b375b603579d2888a4443a8b06a7 (diff)
Configuration Agent and MS for AAF
Issue-ID: AAF-361 Change-Id: I26f3d49e3d7eae4a932489bd677cf0b903fb7977 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/src/main/cql/osaaf.cql')
-rw-r--r--auth/auth-cass/src/main/cql/osaaf.cql8
1 files changed, 8 insertions, 0 deletions
diff --git a/auth/auth-cass/src/main/cql/osaaf.cql b/auth/auth-cass/src/main/cql/osaaf.cql
index 67107cb0..40e79f10 100644
--- a/auth/auth-cass/src/main/cql/osaaf.cql
+++ b/auth/auth-cass/src/main/cql/osaaf.cql
@@ -49,6 +49,14 @@ INSERT INTO perm(ns, type, instance, action, roles, description)
INSERT INTO role(ns, name, perms, description)
VALUES('org.osaaf.aaf','owner',{'org.osaaf.aaf.access|*|read,approve'},'AAF Owners');
+// OSAAF Root
+INSERT INTO user_role(user,role,expires,ns,rname)
+ VALUES ('osaaf@aaf.osaaf.org','org.admin','2018-10-31','org','admin') using TTL 14400;
+
+INSERT INTO user_role(user,role,expires,ns,rname)
+ VALUES ('osaaf@aaf.osaaf.org','org.osaaf.aaf.admin','2018-10-31','org.osaaf.aaf','admin') using TTL 14400;
+
+
// ONAP Specific Entities
// ONAP initial env Namespace
INSERT INTO ns (name,description,parent,scope,type)