Scenario
You will add a role collection to access your deployed application through the SAP BTP cockpit with an authenticated and authorized user.
As the name implies, role collections "group together authorizations for resources and services. Role collections consist of individual roles. Role collections are account-specific. Role collections that exist in the global account don’t exist in the subaccounts. Likewise, role collections in subaccounts aren’t available in the global account."1.
The way this application is designed, the deployed service can only be accessed when a user has a corresponding role collection assigned. If users tried to open the application without this authorization, they would get a Forbidden message. In this exercise, you will see how to assign the role collection to a user.
Prerequisite
You added the UI and approuter to the mta.yaml
file.