on 05-30-2021 7:43 PM
Hello Everyone, I just need to know if there is a way or tutorial for how to create roles and authentication for some tabs in the application that make users log on it or not depend on their roles when I am developing application using the sapui5 framework on XSA
and is this can be (
) applied on XSA ?
UI5 itself has no concept of roles or displaying UI fragements based on privileges of a user. UI5/Fiori follows the principle of role based apps, meaning that for a specific role specific apps are available. If a user acts in a specific role he can work with all the functionalities provided by the apps for which he is authorized.
Of course you could implement your own service, exposing some "privilege" information an adapt your UI on that information, but that is additional work and is more an "old" school concept which will result in monolithic apps.
Regarding your question if XSA provides something similar than the XSC application privileges. Yes: XSA uses the XSUAA service. With that you can define scopes. For details please check the documentation: Application Security Descriptor Configuration Syntax - SAP Help Portal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.