2) Update the xs-security.json file with a new role template
Edit the xs-security.json file and add a role template. For details, see Application Security Descriptor Syntax
"scopes": [{
"name": "$XSAPPNAME.Display",
"description": "display"
}, {
"name": "$XSAPPNAME.Edit",
"description": "edit"
}, {
"name": "$XSAPPNAME.Delete",
"description": "delete",
"granted-apps": ["$XSAPPNAME(application,business-partner)"]
}],
"role-templates": [{
"name": "Viewer",
"description": "View all books",
"default-role-name": "Viewer: Authorized to Read All Books",
"scope-references": [
"$XSAPPNAME.Display"
]
},
3) To deploy the security information, update the service using your xs.security.json file. Go to the folder where the xs-security.json file is stored.
cf update-service <service_name> -c ./xs-security.json
4) Create a new role collection in the BTP cockpit under the Security > Role collections tab
5) Add Roles to a Role Collection by Clicking the role template and add the role to the role template.
5) Map Role Collections to User Groups by clicking the role collection mappings section in the trust configuration tab and choose the role collection from the drop-down list, and in the value filed, give the name of the new user group
"sap.platform.cf":
{
"oAuthScopes": ["<xsuaa instance> .display"]
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
35 | |
25 | |
13 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |