summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <fiete.ostkamp@telekom.de>2023-08-29 08:32:58 +0000
committerGerrit Code Review <gerrit@onap.org>2023-08-29 08:32:58 +0000
commitbf25efd6d3ed28266ed916c0ebe9dd3a45a4affb (patch)
treef57fcc504518e6c539e13c18ecf67e043f678ab8
parent27ada27d347e4867f4992b4162c5c025b88764c6 (diff)
parent01291263baf50d0bf2e562bf457a57e4c41df9ca (diff)
Merge "Change role prefix from onap_ to portal_ [ui]"montreal
-rw-r--r--development/config/onap-realm.json8
-rw-r--r--src/app/model/tile.ts6
-rw-r--r--src/assets/acl.json6
-rw-r--r--src/assets/tiles/tiles.json54
4 files changed, 37 insertions, 37 deletions
diff --git a/development/config/onap-realm.json b/development/config/onap-realm.json
index e8000ea..80c39e0 100644
--- a/development/config/onap-realm.json
+++ b/development/config/onap-realm.json
@@ -171,7 +171,7 @@
} ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_admin" ],
+ "realmRoles" : [ "default-roles-onap", "portal_admin" ],
"notBefore" : 0,
"groups" : [ ]
}, {
@@ -186,12 +186,12 @@
"credentials" : [ ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_designer" ],
+ "realmRoles" : [ "default-roles-onap", "portal_designer" ],
"notBefore" : 0,
"groups" : [ ]
}, {
"createdTimestamp" : 1665048547054,
- "username" : "onap-operator",
+ "username" : "onap_operator",
"enabled" : true,
"totp" : false,
"emailVerified" : false,
@@ -201,7 +201,7 @@
"credentials" : [ ],
"disableableCredentialTypes" : [ ],
"requiredActions" : [ ],
- "realmRoles" : [ "default-roles-onap", "onap_operator" ],
+ "realmRoles" : [ "default-roles-onap", "portal_operator" ],
"notBefore" : 0,
"groups" : [ ]
}, {
diff --git a/src/app/model/tile.ts b/src/app/model/tile.ts
index c23482e..502a3cf 100644
--- a/src/app/model/tile.ts
+++ b/src/app/model/tile.ts
@@ -39,9 +39,9 @@ export enum Group {
}
export enum Role {
- ONAP_OPERATOR = 'ONAP_OPERATOR',
- ONAP_DESIGNER = 'ONAP_DESIGNER',
- ONAP_ADMIN = 'ONAP_ADMIN',
+ PORTAL_OPERATOR = 'PORTAL_OPERATOR',
+ PORTAL_DESIGNER = 'PORTAL_DESIGNER',
+ PORTAL_ADMIN = 'PORTAL_ADMIN',
}
diff --git a/src/assets/acl.json b/src/assets/acl.json
index 73c2fe9..e25ea47 100644
--- a/src/assets/acl.json
+++ b/src/assets/acl.json
@@ -1,5 +1,5 @@
{
- "onap_admin": [
+ "portal_admin": [
"users.administration.list",
"users.administration.detail",
"users.administration.create",
@@ -19,7 +19,7 @@
"dashboard.tile.USER_LAST_ACTION_TILE",
"treeview"
],
- "onap_operator": [
+ "portal_operator": [
"cellSite.map",
"serviceInstance.list",
"serviceInstance.delete",
@@ -34,7 +34,7 @@
"dashboard.tile.USER_LAST_ACTION_TILE",
"treeview"
],
- "onap_designer": [
+ "portal_designer": [
"kpi",
"kpi.graphs",
"kpi.grafana",
diff --git a/src/assets/tiles/tiles.json b/src/assets/tiles/tiles.json
index ab2db40..1030ad8 100644
--- a/src/assets/tiles/tiles.json
+++ b/src/assets/tiles/tiles.json
@@ -11,9 +11,9 @@
"redirectUrl": "https://sdc-ui-HOSTNAME/sdc1/portal",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -27,7 +27,7 @@
"redirectUrl": "https://policy-ui-HOSTNAME/",
"groups": [],
"roles": [
- "ONAP_ADMIN"
+ "PORTAL_ADMIN"
]
},
{
@@ -41,7 +41,7 @@
"redirectUrl": "https://so-monitoring-ui-HOSTNAME/",
"groups": [],
"roles": [
- "ONAP_OPERATOR"
+ "PORTAL_OPERATOR"
]
},
{
@@ -55,9 +55,9 @@
"redirectUrl": "https://cds-ui-HOSTNAME/",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -71,9 +71,9 @@
"redirectUrl": "https://holmes-ui-HOSTNAME/iui/holmes/default.html",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -87,9 +87,9 @@
"redirectUrl": "https://aai-ui-HOSTNAME/services/aai/webapp/index.html#/browse",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -103,9 +103,9 @@
"redirectUrl": "https://dcaemod-ui-HOSTNAME/nifi/",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -119,9 +119,9 @@
"redirectUrl": "https://sdncdg-ui-HOSTNAME/",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -135,9 +135,9 @@
"redirectUrl": "https://sdncodl-ui-HOSTNAME//odlux/index.html",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
},
{
@@ -151,10 +151,10 @@
"redirectUrl": "https://nonrtric-controlpanel-HOSTNAME/",
"groups": [],
"roles": [
- "ONAP_ADMIN",
- "ONAP_OPERATOR",
- "ONAP_DESIGNER"
+ "PORTAL_ADMIN",
+ "PORTAL_OPERATOR",
+ "PORTAL_DESIGNER"
]
}
]
-} \ No newline at end of file
+}