Skip to content

Commit 14deb8d

Browse files
add custom role
1 parent 183ed61 commit 14deb8d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

managed-html5-runtime-fiori-launchpad-mta/HTML5Module1/xs-app.json

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"welcomeFile": "/index.html",
33
"authenticationMethod": "route",
44
"routes": [
5+
{
6+
"source": "^/user-api(.*)",
7+
"target": "$1",
8+
"service": "sap-approuter-userapi"
9+
},
510
{
611
"authenticationType": "none",
712
"csrfProtection": false,

managed-html5-runtime-fiori-launchpad-mta/xs-security.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"xsappname": "managed_fiori_app",
2+
"xsappname": "managed-fiori-uaa",
33
"tenant-mode": "dedicated",
44
"description": "Security profile of called application",
55
"scopes": [
66
{
77
"name": "uaa.user",
88
"description": "UAA"
9+
},
10+
{
11+
"name": "$XSAPPNAME.CustomRole",
12+
"description": "Admin"
913
}
1014
],
1115
"role-templates": [
@@ -15,6 +19,14 @@
1519
"scope-references": [
1620
"uaa.user"
1721
]
22+
},
23+
{
24+
"name": "CustomRole",
25+
"description": "generated",
26+
"scope-references": [
27+
"$XSAPPNAME.CustomRole"
28+
],
29+
"attribute-references": []
1830
}
1931
]
2032
}

0 commit comments

Comments
 (0)