on 2025 Jan 09 4:04 PM
I have a cds service secured via "@requires"
service MyService @(path: '/service/api/v1') @(requires: [
'AdminRole'
]) {
When trying to access an entity on this service in CAP 8.5.1 without a proper role assignment I will get the expected error:
{"error":{"code":"403","@Common.numericSeverity":4,"message":"Forbidden"}}However, when accessing the same entity after updating to CAP 8.6.0 the request is executed and returns a response, completely bypassing the authorization check defined via @requires.
I tested so far only locally via "auth": { "kind": "basic"}, not sure if it also happens with the other authentication strategies
Request clarification before answering.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.