BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http

Entities are exposed with full CRUD by default, and this is how to take operations away again — @Capabilities for Insert, Update and Delete individually, @readonly for the blunt version. Tested with .http files rather than a UI, which keeps the check on the service.

Where it sits

Explains
AuthorizationCAPAuthorizationcapabilityDeciding who may read or change what, at service, entity and instance level — role checks, forwarded user context, and restrictions evaluated as query filters rather than after the fact.TestingCAPTestingcapabilityProving the service still does what it did — against the model and the handlers, without a deployed system and without a database somebody has to keep clean.
Source
reachable

Who is behind it

DeepaRaghoauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
889

What was found on the page

derived
Prose
derived
836 words
Numbered steps
derived
7
Code blocks
derived
7

For authorization

on the edge
Applies in
authored
cap

For testing

on the edge
Applies in
authored
cap

More on this33

Group by33 of 33 pieces
Piece, what it offersStill applies
Also explainingAuthorization33
Securing a CAP Node.js App with SAP AMS on BTP Cloud Foundry
SAP Community, Jacky LiuThe reasoningA recipe
nothing recorded
Effective from June 30th 2026 - XSUAA Deprecation of GET Method for OAuth Token Retrieval
SAP Community, Yogananda
nothing recorded
From XSUAA to AMS: Architecting S4HANA CAP Extensions with Policy-Based Authorization
SAP Community, Avinash VaidyaThe reasoningA recipeRunnable code
nothing recorded
Dynamic authorisation with user attributes in SAP CAP and AMS
SAP Community, pedro_iranzoThe reasoningA recipeRunnable code
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
SAP BTP XSUAA Security Configuration Comparison: Attribute-Based vs. Authority-Based Approaches
SAP Community, rajeshkputumbakaThe reasoningRunnable code
nothing recorded
Securing CAP Applications with SAP Cloud Identity Services and AMS
SAP Community, gopalanandThe reasoningRunnable code
nothing recorded
Enhancing Unit Testing in SAP CAP Java Applications with GitHub Copilot
SAP Community, Anjali_PathakThe reasoning
nothing recorded
Joule Studioがリリースされたので早速CAPアプリを自然言語で操作するカスタムスキルを構築してみた
SAP Community, takayuki_tanaka
nothing recorded
Getting Started with Unit Testing in SAP CAP Java Applications
SAP Community, Anjali_PathakThe reasoningRunnable code
Core changed
Securing SAP CAP Applications: XSUAA, Roles, and Authorization Best Practices
SAP Community, Soumya-Pirlamarla
nothing recorded
CAP-JAVA implementation for Authorization Management Service (AMS)
SAP Community, Harvey_Yao
nothing recorded
Enabling Authorization Policies in SAP Cloud Identity Services - IAS with AMS/CAP
SAP Community, YoganandaThe reasoningA recipe
Core changed
CAP for nodejs安全的暴露接口练习
SAP Community, ArthurYang
nothing recorded
XSUAA Local Testing
SAP Community, ManasaManuThe reasoningA recipeRunnable code
Core changed
SAP CAP(Cloud Application Programming)开发框架概述
SAP Community, ArthurYang
nothing recorded
CAP full-stack testing with BDD flavour
SAP Community, Vladislav Leonkev
nothing recorded
XSUAA Based Authentication - Using Managed Approuter
SAP Community, rahul_rajagopalThe reasoningA recipe
Core changed
[Part - 1] Enrich CAP based Services with Behaviors using Annotations
SAP Community, Ajit Kumar Panda
nothing recorded
SAP Job Scheduling Service + Cloud Application Programming Model application (CAP) + SAP Authorization and Trust Management Service (XSUAA)
SAP Community, former_member412792The reasoning
nothing recorded
Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment
SAP Community, TiaXu
nothing recorded
Qualtrics integration with domain based authorization in CAP project on HANA cloud
SAP Community, former_member69893The reasoningRunnable code
Core changed
An approach to secure multiple integrated SAP CAP java applications with a common XSUAA service instance
SAP Community, sreanik_dhanyakumar2The reasoning
nothing recorded
SAP Business Technology Platform: Authorization and Trust Management Service
SAP Community, SekhuteTK
nothing recorded
Testing your CAP HANA Artifacts with jest – including multitenancy, hdbprocedure and hdbview
SAP Community, TristanThe reasoningA recipeRunnable code
Core changed
How to get authenticated user information with CAP in three different ways – Using the XSUAA API
SAP Community, ale_biagiThe reasoning
nothing recorded
Why developers should care about credential-types for xsuaa?
SAP Community, former_member2839The reasoningA recipeRunnable code
Core changed
Insights of Cloud SDK, CAP, XSUAA, SSH and other BTP topics from 2021
SAP Community, dr_vupThe reasoning
nothing recorded
CAP: Unit Testing using Mocha and Chai
SAP Community, jhodel18The reasoningRunnable code
Core changed
Understanding security approaches in SAP CAP using XSUAA in node.js flavor and MTA.
SAP Community, balbinosoaresThe reasoningA recipeRunnable code
Core changed
Integration Tests in a Cloud Foundry Java App using SAP Cloud Application Programming Model
SAP Community, former_member428487The reasoningRunnable code
Core changed
How SAP secures enterprise AI agents with identity propagation
SAP TechEd — session catalogue, Gunnar KoscheThe reasoning
nothing recorded
Create Automated System Tests for SAP Cloud Application Programming Model Projects
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph4 edges
POINTS OUT →
explainsAuthorizationcapability, core and community
explainsTestingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:authorization (cap); capability:testing (cap)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:restrict-crud-operations-in-capm-with-capabilities-and-readonly
JSON
/content/restrict-crud-operations-in-capm-with-capabilities-and-readonly.json
MCP
Connecting an agent