Description
In CDS 10 the service_level_restrictions compat flag is removed. Projects that had explicitly set cds.features.service_level_restrictions: false to opt out of service-level restriction enforcement will no longer be able to do so — the restrictions are always active. The flag has no effect when set and should be removed from all CDS configuration files.
How to Check
- [ ] Search for
cds.features.service_level_restrictionsinpackage.json,.cdsrc.json, and environment-specific config files. - [ ] If the flag is present with value
false, assess which service-level restrictions were previously bypassed and whether any code relies on that behaviour.
Migration Steps
Remove the flag from CDS configuration:
diff// package.json or .cdsrc.json "cds": { "features": { - "service_level_restrictions": false } }Run the application and review any new restriction-related errors raised at the service layer. Adapt code or service definitions to comply with the enforced restrictions.