-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxs-security.json
More file actions
234 lines (234 loc) · 6.55 KB
/
Copy pathxs-security.json
File metadata and controls
234 lines (234 loc) · 6.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"xsappname": "tutorials",
"tenant-mode": "dedicated",
"description": "Deployment creates a dedicated XSUAA instance (tutorials-xsuaa) via org.cloudfoundry.managed-service in mta.yaml.",
"scopes": [
{
"name": "$XSAPPNAME.Admin",
"description": "Full admin access"
},
{
"name": "$XSAPPNAME.SuperAdmin",
"description": "Elevated admin access (publish/unpublish)"
},
{
"name": "$XSAPPNAME.ContentAuthor",
"description": "Create and edit content"
},
{
"name": "$XSAPPNAME.DeveloperApp",
"description": "Developer operations"
},
{
"name": "$XSAPPNAME.MobileApp",
"description": "Mobile app features"
},
{
"name": "$XSAPPNAME.DisplayApp",
"description": "Read-only UI access"
},
{
"name": "$XSAPPNAME.ConsolidationScope",
"description": "Account merge operations (SCI technical user)"
},
{
"name": "$XSAPPNAME.Tutorial.Author",
"description": "QA channel author preview (unpublished tutorials at /tutorials-qa/*)"
},
{
"name": "$XSAPPNAME.KnowledgeGraph.Admin",
"description": "Knowledge graph admin: merge/veto concepts, run raw SPARQL"
},
{
"name": "$XSAPPNAME.Everyone",
"description": "Baseline access"
},
{
"name": "$XSAPPNAME.Tutorial.API",
"description": "External GraphQL API access for user-scoped reads (issue #996)"
},
{
"name": "$XSAPPNAME.Tutorial.MCP",
"description": "MCP protocol access — authenticated tutorial reads/writes"
}
],
"role-templates": [
{
"name": "Admin",
"description": "Administrator",
"scope-references": [
"$XSAPPNAME.Admin",
"$XSAPPNAME.KnowledgeGraph.Admin",
"$XSAPPNAME.Everyone"
]
},
{
"name": "SuperAdmin",
"description": "Elevated Administrator (can publish/unpublish)",
"scope-references": [
"$XSAPPNAME.SuperAdmin",
"$XSAPPNAME.Admin",
"$XSAPPNAME.KnowledgeGraph.Admin",
"$XSAPPNAME.Everyone"
]
},
{
"name": "ContentAuthor",
"description": "Content Author",
"scope-references": [
"$XSAPPNAME.ContentAuthor",
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "DeveloperApp",
"description": "Developer",
"scope-references": [
"$XSAPPNAME.DeveloperApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "MobileApp",
"description": "Mobile Application User",
"scope-references": [
"$XSAPPNAME.MobileApp",
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "DisplayApp",
"description": "Read-only user",
"scope-references": [
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "ConsolidationScope",
"description": "Account consolidation (SCI)",
"scope-references": [
"$XSAPPNAME.ConsolidationScope"
]
},
{
"name": "TutorialAuthor",
"description": "QA channel author (preview unpublished tutorials)",
"scope-references": [
"$XSAPPNAME.Tutorial.Author",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Everyone",
"description": "Baseline",
"scope-references": [
"$XSAPPNAME.Everyone"
]
},
{
"name": "TutorialApiConsumer",
"description": "External developer / partner consuming the tutorials GraphQL API",
"scope-references": [
"$XSAPPNAME.Tutorial.API",
"$XSAPPNAME.Everyone"
]
},
{
"name": "TutorialMCP",
"description": "MCP authenticated user (progress reads/writes, recommendations)",
"scope-references": [
"$XSAPPNAME.Tutorial.MCP",
"$XSAPPNAME.Everyone"
]
}
],
"role-collections": [
{
"name": "Tutorials Admin",
"description": "Full admin access to tutorials platform",
"role-template-references": [
"$XSAPPNAME.Admin",
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.DeveloperApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials SuperAdmin",
"description": "Elevated admin with publish/unpublish capability",
"role-template-references": [
"$XSAPPNAME.SuperAdmin",
"$XSAPPNAME.Admin",
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.DeveloperApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials Developer",
"description": "Developer app access for tutorial progress",
"role-template-references": [
"$XSAPPNAME.DeveloperApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials Display",
"description": "Read-only display access for event monitors",
"role-template-references": [
"$XSAPPNAME.DisplayApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials Author",
"description": "Author preview access to tutorials-qa channel (gates /tutorials-qa/*)",
"role-template-references": [
"$XSAPPNAME.TutorialAuthor",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials Scanner",
"description": "Mobile scanner UI access for event staff (gates /scanner-ui/*, /scanner-vue/*, /scanner/*)",
"role-template-references": [
"$XSAPPNAME.MobileApp",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials API Consumer",
"description": "External GraphQL API access (grants Tutorial.API)",
"role-template-references": [
"$XSAPPNAME.TutorialApiConsumer",
"$XSAPPNAME.Everyone"
]
},
{
"name": "Tutorials MCP Users",
"description": "Authenticated MCP access to tutorials at /mcp-auth/*",
"role-template-references": [
"$XSAPPNAME.TutorialMCP",
"$XSAPPNAME.Everyone"
]
}
],
"authorities": [
"$XSAPPNAME.Everyone"
],
"oauth2-configuration": {
"redirect-uris": [
"https://*.cfapps.*.hana.ondemand.com/**",
"vscode://sap-tutorials.sage-tutorial-extension/**",
"https://developers.sap.com/callback",
"https://developers.sap.com/login/callback",
"https://developers.sap.com/",
"http://localhost:*/callback",
"http://localhost:*/oauth/callback",
"http://localhost:*/mcp-callback"
]
}
}