Skip to content

Commit d0a074c

Browse files
Feediver1micheleRP
andauthored
DOC-1629: Fix single sourcing and cross repo tags (#1329)
Co-authored-by: micheleRP <[email protected]>
1 parent 7e93b9e commit d0a074c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/manage/pages/schema-reg/schema-reg-authorization.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,22 @@ User `jane` now has global `read` and `write` access to the Schema Registry and
257257

258258
=== Create a role with Schema Registry ACLs
259259

260+
ifdef::env-cloud[]
261+
You can combine Schema Registry ACLs with xref:security:authorization/rbac/rbac_dp.adoc[role-based access control (RBAC)] to create reusable roles. This approach simplifies permission management when you need to assign the same set of permissions to multiple users.
262+
endif::[]
263+
264+
ifndef::env-cloud[]
260265
You can combine Schema Registry ACLs with xref:manage:security/authorization/rbac.adoc[role-based access control (RBAC)] to create reusable roles. This approach simplifies permission management when you need to assign the same set of permissions to multiple users.
266+
endif::[]
261267

262268
This example creates a role called `SoftwareEng` and assigns it ACLs for both topic and Schema Registry access:
263269

270+
ifndef::env-cloud[]
264271
[NOTE]
265272
====
266273
Redpanda recommends using the topic naming strategy for Schema Registry subjects, where subjects follow the pattern `<topicName>-key` or `<topicName>-value`. For details, see xref:manage:schema-reg/schema-id-validation.adoc#set-subject-name-strategy-per-topic[Set subject name strategy per topic].
267274
====
275+
endif::[]
268276

269277
[,bash]
270278
----
@@ -344,6 +352,7 @@ User:alice * TOPIC bar LITERAL READ
344352
The `Not found` error occurs in the request: `12:17:33.935 DEBUG sending request {"method": "POST", "URL: "http://127.0.0.1:8081/security/acls", "has_bearer": false,
345353
"has_basic_auth": false}`, meaning that the endpoint is not available (because you are using an older Redpanda version). You must upgrade to the current version of Redpanda.
346354

355+
ifndef::env-cloud[]
347356
This next error occurs when the user tries to create two ACLs, one for a topic and one for a registry-subject:
348357

349358
[bash]
@@ -364,6 +373,7 @@ User:mary * TOPIC private LITERAL READ
364373
----
365374

366375
The `Invalid license: not present` error indicates that the user is trying to create an ACL for a resource that requires a license, but no license is present. See xref:get-started:licensing/overview.adoc[Licensing overview] for details on how to obtain a license.
376+
endif::[]
367377

368378
== Suggested reading
369379

0 commit comments

Comments
 (0)