Skip to content

Commit 4e72eb9

Browse files
authored
DOC-1772: Fix invalid ACL command example in RBAC documentation (#1420)
1 parent 5063d55 commit 4e72eb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/manage/partials/rbac-dp.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ rpk security role create DataAnalysts
3535
3636
# 2. Grant read access to analytics topics
3737
rpk security acl create --operation read,describe \
38-
--topic 'analytics-*' --resource-pattern-type prefixed \
38+
--topic 'analytics-' --resource-pattern-type prefixed \
3939
--allow-role DataAnalysts
4040
4141
# 3. Grant write access to reporting topics
4242
rpk security acl create --operation write,describe \
43-
--topic 'reports-*' --resource-pattern-type prefixed \
43+
--topic 'reports-' --resource-pattern-type prefixed \
4444
--allow-role DataAnalysts
4545
4646
# 4. Assign users to the role
@@ -534,4 +534,4 @@ ifdef::env-cloud[]
534534
* xref:security:authorization/rbac/acl.adoc[Access Control Lists] - Understanding the underlying ACL system
535535
endif::[]
536536

537-
// end::single-source[]
537+
// end::single-source[]

0 commit comments

Comments
 (0)