Skip to Content
0
Jun 07, 2020 at 03:18 PM

debugging an app with cds @restrict

231 Views

Hi,

I'm using CAP and have @requires annotations in my services.

Now I added "@(restrict.." annotations at entity level.

When I run the app (not the deployed one) with CF target then I cannot access the entities because user roles and attributes are not available.

When I run the deployed apps I have compressed code which I cannot debug.

Is there a way to run apps and debug them when "restrict" annotations are included in the cds service?

Would be great if anyone knows. I didn't find any answer.

Wolfgang