12-04-2018 5:45 AM - edited 02-03-2024 11:24 PM
Hi there;
Just wondering if someone could explain the meaning of Access Protection in CDS Views?
Thanks
Thomas
Hi
Just to add my 2 cents here: There are 2 levels, privileged and protected. Privileged means that you can't see the data, and can't access the data through odata. It can only be accessed via an association in a protected CDS View
For "Protected" views, you will require an extra Business role to be able to see the data. So as an example if it is some view that is protected and is based on "Business Partners" You may require a role like SAP_BR_BUPA_MASTER_SPECIALIST to give you access to the data.
Here is a Help document that explains the same: https://help.sap.com/viewer/9a281eac983f4f688d0deedc96b3c61c/1809.000/en-US/4356ae3e6a994e119c0532ab...
Thank you! Amith Nair
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
As far as I understand, Access Control in CDS view are used to control or rather restrict the data returned from the CDS entity. It is away of exercising authorizations while building the ABAP CDS. Everytime we build a custom CDS view using the existing ones, these 'Access control relevant fields' are automatically added to the custom CDS view to facilitate the authorization concept.
I found this article on Access Control, which might be helpful to you.
https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/abencds_authorizations.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.