From d274381cb51e3d616ea24bf0f844ce01e7baa948 Mon Sep 17 00:00:00 2001 From: Vladislav Leonkev Date: Thu, 10 Sep 2026 03:49:44 +0200 Subject: [PATCH 1/2] cds add xsuaa: "--for production" not required --- guides/security/authentication.md | 6 +----- guides/security/cap-users.md | 12 ++---------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/guides/security/authentication.md b/guides/security/authentication.md index e49cb5ba6e..d7103690ad 100644 --- a/guides/security/authentication.md +++ b/guides/security/authentication.md @@ -711,14 +711,10 @@ Enhance your [sample application](#mock-user-authentication) with XSUAA-support: ::: code-group -```sh [Java] +```sh cds add xsuaa ``` -```sh [Node.js] -cds add xsuaa --for production -``` - ::: diff --git a/guides/security/cap-users.md b/guides/security/cap-users.md index 9a9cd41f9f..fa2559dde9 100644 --- a/guides/security/cap-users.md +++ b/guides/security/cap-users.md @@ -1018,21 +1018,13 @@ In particular, the following happens automatically behind-the-scenes upon build: Derive scopes, attributes, and role templates from the CDS model: -
+::: code-group ```sh cds add xsuaa ``` -
- -
- -```sh -cds add xsuaa --for production -``` - -
+::: This generates an _xs-security.json_ file: From 7c84ac9ad73b8eebac74cf488c80313bb35ba618 Mon Sep 17 00:00:00 2001 From: Vladislav Leonkev Date: Thu, 10 Sep 2026 04:07:48 +0200 Subject: [PATCH 2/2] update microservices.md too --- guides/deploy/microservices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/deploy/microservices.md b/guides/deploy/microservices.md index 1e5fb71be9..6be73228e3 100644 --- a/guides/deploy/microservices.md +++ b/guides/deploy/microservices.md @@ -354,7 +354,7 @@ build-parameters: Add [security configuration](../security/authentication) using the command: ```shell -cds add xsuaa --for production +cds add xsuaa ``` Add the admin role