To get access to the Easy Franchise application, the user need the role collection Easy Franchise Backend.
In this case, the SAP BTP Cockpit offers 2 ways to configure the role assignment:
- Assigning a role collection to a user
- Adding a user to a role collection
The tenant admin (eg. City Scooter admin) can manage users within his own Identity Authentication Service. So he can define by itself, which users will gains access to the Easy Franchise application and which not. The idea here is that the SAP partner defines a group name in the SAP BTP Cockpit and provides automatically Easy Franchise application access for all members, that have been added to this group.
This configuration step is done by the partner in the customer subaccount.
-
Open the SAP BTP Cockpit and log on to the customer SAP BTP subaccount (eg. City Scooter).
-
Open Security > Role Collections on the left side menu and choose one of the Easyfranchise Backend role collection and click on the Edit button.
-
Scroll down to User Groups and select your Identity Provider. Then provide a name for the group, e.g. easyfranchise-users. Save this changes.
If the partner doesn't have access to the customer identity provider, he should share the group name to the customer admin so that he can configure the Identity Authentication Service as needed. In our case, we assume that the partner has access to it.
-
Log in to Identity Authentication Service and open User & Authorization > user Groups.
-
Then press the Create button to create a new user group and add the group name, which was created as role collection in the SAP BTP cockpit previously (e.g. easyfranchise-users). Provide a meaningful Display name and description.
-
Now add Easy Franchise service end users to this group. Add yourself, so you can test the configuration.
Now as we have setup the trust, configured the destination accordingly and configured the user access, we are ready to run the application.
-
Open the application Easy Franchise by clicking on the subscription URL. This can be found in the SAP BTP subaccount under Instances and Subscriptions.
-
In the browser select new identity provider and log in.
-
Verify that the application works and franchises are loaded.
Hint: if you get a "forbidden" error, recheck your configuration, delete browser cache and try again.