Skip to content

Commit 8070993

Browse files
committed
DOC-1629: Fix single sourcing and cross repo tags
1 parent 7e93b9e commit 8070993

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,17 @@ 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+
ifdef::env-cloud[]
265+
You can combine Schema Registry ACLs with xref:ROOT:security:authorization/rbac/rbac-dp.adoc[tag=single-source] to create reusable roles. This approach simplifies permission management when you need to assign the same set of permissions to multiple users.
266+
endif::[]
267+
268+
ifndef::env-cloud[]
260269
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.
270+
endif::[]
261271

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

@@ -344,6 +354,7 @@ User:alice * TOPIC bar LITERAL READ
344354
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,
345355
"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.
346356

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

349360
[bash]
@@ -364,6 +375,7 @@ User:mary * TOPIC private LITERAL READ
364375
----
365376

366377
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.
378+
endif::[]
367379

368380
== Suggested reading
369381

0 commit comments

Comments
 (0)