-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxs-security.json
51 lines (49 loc) · 1.28 KB
/
xs-security.json
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
{
"xsappname": "AppRoutingDemoApp",
"scopes": [{
"name": "$XSAPPNAME.READ",
"description": "Read data"
}, {
"name": "$XSAPPNAME.EDIT",
"description": "Edit data"
}, {
"name": "$XSAPPNAME.CVIEWS",
"description": "Run Calculation Views"
}, {
"name": "$XSAPPNAME.RUN",
"description": "Run the application"
}
],
"attributes": [{
"name": "COUNTRY",
"description": "Employee country",
"valueType": "string"
}, {
"name": "CURRENCY",
"description": "allowable currencies",
"valueType": "string"
}, {
"name": "CLIENT",
"description": "ABAP Client Number",
"valueType": "int"
}],
"role-templates": [{
"name": "View_Read_Only",
"description": "Template for reading from views",
"scope-references": ["$XSAPPNAME.READ", "$XSAPPNAME.RUN"],
"attribute-references": ["COUNTRY", "CURRENCY", "CLIENT"]
},
{
"name": "View_Editor",
"description": "Template for reading from views",
"scope-references": ["$XSAPPNAME.READ", "$XSAPPNAME.EDIT", "$XSAPPNAME.RUN"],
"attribute-references": ["COUNTRY", "CURRENCY", "CLIENT"]
},
{
"name": "CV_Viewer",
"description": "Template for reading from calculation views",
"scope-references": ["$XSAPPNAME.READ", "$XSAPPNAME.CVIEWS", "$XSAPPNAME.RUN"],
"attribute-references": ["COUNTRY", "CURRENCY", "CLIENT"]
}
]
}