
When reviewing a CAP service’s intended public access, SAP KBA 3699314 describes the interaction between restrict_all_services and service-level requires annotations.
Check the production profile
The KBA’s example retains XSUAA as the authentication provider while setting restrict_all_services to false. Place the fragment within the applicable CAP configuration profile.
"[production]": {
"auth": "xsuaa",
"restrict_all_services": false
}Review explicit restrictions
The KBA also removes the service’s explicit requires annotation, then rebuilds and deploys the application. Apply that change only to a service intended for that access model, because removing the annotation changes its access requirement. Test the expected permitted and denied requests afterward.



