on 02-03-2022 2:27 PM
Hello experts,
Does anyone have any successful implementation of the unrestricted metadata endpoint configuration? I tried to follow the instructions in the CAP Cookbook (https://cap.cloud.sap/docs/guides/authorization#requires) to remove the metadata restriction but without success. Can anyone help?
Thank you.
cds.env.runtime.protectMetadata = false
I've just tried and simply added:
cds.env.odata.protectMetadata = false;
to a custom server.js. That works for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for answering, gregorw!
672cbd118d064be98c30c44331ab059e We'll fix the documentation. Sorry for the inconvenience!
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.