Files
cloud-cap-samples/multitenancy/xs-security.json
2021-06-16 17:59:27 +02:00

46 lines
1.4 KiB
JSON

{
"xsappname": "multitenancy-${space}",
"tenant-mode": "shared",
"scopes": [
{ "name": "$XSAPPNAME.ExtendCDS", "description": "Extend CDS application" },
{ "name": "$XSAPPNAME.ExtendCDSdelete", "description": "Extend CDS application with undeploy" },
{ "name": "$XSAPPNAME.MtxDiagnose", "description": "Diagnose MTX sidecar" },
{ "name": "$XSAPPNAME.mtdeployment", "description": "Deploy applications" },
{
"name": "$XSAPPNAME.mtcallback",
"description": "With this scope set, the callbacks for subscribe, unsubscribe and getDependencies can be called.",
"grant-as-authority-to-apps": [
"$XSAPPNAME(application,sap-provisioning,tenant-onboarding)"
]
}
],
"authorities": [
"$XSAPPNAME.MtxDiagnose"
],
"role-templates": [
{
"name": "ExtensionDeveloper",
"description": "Extend application",
"scope-references": [
"$XSAPPNAME.ExtendCDS"
],
"attribute-references": []
},
{
"name": "ExtensionDeveloperUndeploy",
"description": "Undeploy extension",
"scope-references": [
"$XSAPPNAME.ExtendCDSdelete"
],
"attribute-references": []
},
{
"name": "MultitenancyAdministrator",
"description": "Multitenancy Administrator",
"scope-references": [
"$XSAPPNAME.mtcallback",
"$XSAPPNAME.mtdeployment"
]
}
]
}