Skip to Content
5
Jan 12 at 04:04 PM

How to deal with different user privileges in a fiori elements app?

244 Views

We are developing apps with CAP and fiori elements. According to the Fiori design guidelines, a user shouldn`t be able to see buttons if the user has unsufficient privileges to use them.

Does that mean that we have to create a seperate elements app with a read-only service endpoint for the users, additional to the privileged app for admins? If we have more than two different groups, would that mean that we have to create additional apps with their respective service endpoint for every user privileges group?

We define the restrictions by CAP: https://cap.cloud.sap/docs/guides/authorization

What is best practice for handling different privileges in fiori elements apps?

We explicitly don`t talk about freestyle apps, we use fiori elements apps.

Thank you in advance,

Robert