on 08-11-2022 1:23 PM
Hi Experts,
Since some time there has been a question circulating the web - is it possible to hide UI controls based on user roles? but maybe there has been some developments in this area since 2015.
Scenario: In the CDS based MTA UI5 app there are 5 possible actions, 3 actions are available for all users, but 4. action should be allowed only if the user has the specific role assigned. For last action users with "role A" can view the data, and users with "role B" can also change data.
Undoubtedly the backend check for authorization has been implemented, but how to handle the visibility of allowed action buttons on the frontend side? Can CF roles be somehow utilized? or XS scopes? Or still the best option is to send some parameter from backend top control layout?
Thanks a lot in advance,
Shan
Hello Shanir,
We are working on covering this in the UI layer, i.e. SAPUI5. As SAPUI5 flexibility needs implementations per technology platform, we need to look at the road map of SAP standard delivery with different priorities:
Until then an own solution can be a workaround, e.g. via an explicit parameter.
Please note that as usual with forward-looking statements, these are subject to change.
Regards,
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.