This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git
The following commit(s) were added to refs/heads/new-official-website by this
push:
new 42cf92d367 fix table format for acl 2.0 (#751)
42cf92d367 is described below
commit 42cf92d36708d407e98acd043d764a8f7c63337d
Author: dingshuangxi888 <[email protected]>
AuthorDate: Mon Nov 24 15:10:37 2025 +0800
fix table format for acl 2.0 (#751)
* add rocketmq acl 2.0 document
Change-Id: I014bcea2b798dc4a9f668f6917bc4f23580c65e4
Co-developed-by: Cursor <[email protected]>
* 删除一些多余的文档
Change-Id: I37b66feead00e92817a77b11e63bf81b8f50cba2
Co-developed-by: Cursor <[email protected]>
* 添加提示信息
Change-Id: I4a8c18b764fa8d6eccba729df351a0ffc34b52e5
Co-developed-by: Cursor <[email protected]>
* add warning info
Change-Id: I9a2babdc50d09bfe1f652ada1658f1f92ea5e85f
Co-developed-by: Cursor <[email protected]>
* modify warning info
Change-Id: I79a3e483d785ae8b6e06789db36bbd72f8a06b85
Co-developed-by: Cursor <[email protected]>
* delete architecture comparison
Change-Id: I939cb449511de173db4b163acc3c6878cc144fa8
Co-developed-by: Cursor <[email protected]>
* modify warning info
Change-Id: I6eb1612441e73e85c5aa78fa8f77e02374007612
Co-developed-by: Cursor <[email protected]>
* optimize access.md
Change-Id: I0fab7cf5aae07e0f80361c6d03bd8e606fc46a04
Co-developed-by: Cursor <[email protected]>
* optimize access.md
Change-Id: Iebba9a7a8941e6739a73f7c9333d1107730bb843
Co-developed-by: Cursor <[email protected]>
* optimize access.md
Change-Id: I955555200441df2b262410bb514ec36e16af6907
Co-developed-by: Cursor <[email protected]>
* optimize access.md
Change-Id: I1976a2c7e421fb573704f6767b7f361a9b30c0a1
Co-developed-by: Cursor <[email protected]>
* add english version of access.md
Change-Id: Iba57d73b5d78241eaa66e170bef1d370ab8f47c8
Co-developed-by: Cursor <[email protected]>
* optimize access.md
Change-Id: I402292ca855031bc7cedb7f628e5d0da4262ca54
Co-developed-by: Cursor <[email protected]>
* fix: access-1.0.md
Change-Id: I600ac4a5d0458cae6c7cb0b49c481dacd45360c8
Co-developed-by: Cursor <[email protected]>
* 优化菜单的显示
Change-Id: I83a38d5719ab8439693785a9fa4ebdc5d72c1fb5
Co-developed-by: Cursor <[email protected]>
* 优化访问控制 2.0和1.0的展示逻辑
Change-Id: I9a8145d6c273771d594c0a209bf800393819bd97
Co-developed-by: Cursor <[email protected]>
* fix table format for access
Change-Id: I284cea7f583e37094e84593f44cda610f68fd2d2
Co-developed-by: Cursor <[email protected]>
---------
Co-authored-by: shuangxi.dsx <[email protected]>
---
.../version-5.0/06-bestPractice/03access.md | 34 +++++++++++-----------
.../version-5.0/06-bestPractice/03access.md | 34 +++++++++++-----------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/06-bestPractice/03access.md
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/06-bestPractice/03access.md
index e2450210b2..9480dfb6d6 100644
---
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/06-bestPractice/03access.md
+++
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/06-bestPractice/03access.md
@@ -427,29 +427,29 @@ When multiple permission policies match the same request,
the final result is de
#### Priority Rules
-|| Resource Priority (High→Low) | Decision Priority |
-||------------------------------|------------------|
-|| 1. Specific resource type > Any resource type (`*`)<br/>2. Exact match >
Prefix match > Wildcard match<br/>3. Longer resource name > Shorter resource
name | **Deny > Allow**<br/>(Deny has higher priority than Allow) |
+| Resource Priority (High→Low) | Decision Priority |
+|------------------------------|------------------|
+| 1. Specific resource type > Any resource type (`*`)<br/>2. Exact match >
Prefix match > Wildcard match<br/>3. Longer resource name > Shorter resource
name | **Deny > Allow**<br/>(Deny has higher priority than Allow) |
#### Priority Example
-|| Policy | Resource Definition | Action | Decision | Priority |
-||--------|-------------------|--------|----------|----------|
-|| 1 | `Topic:test-abc-1` | Pub,Sub | Deny | Highest |
-|| 2 | `Topic:test-abc` | Pub,Sub | Allow | High |
-|| 3 | `Topic:test-*` | Pub,Sub | Allow | Medium |
-|| 4 | `Topic:*` | Pub,Sub | Allow | Low |
-|| 5 | `*` | All | Deny | Lowest |
+| Policy | Resource Definition | Action | Decision | Priority |
+|--------|-------------------|--------|----------|----------|
+| 1 | `Topic:test-abc-1` | Pub,Sub | Deny | Highest |
+| 2 | `Topic:test-abc` | Pub,Sub | Allow | High |
+| 3 | `Topic:test-*` | Pub,Sub | Allow | Medium |
+| 4 | `Topic:*` | Pub,Sub | Allow | Low |
+| 5 | `*` | All | Deny | Lowest |
**Match Results**:
-|| Access Resource | Matched Policy | Final Decision |
-||----------------|----------------|----------------|
-|| `Topic:test-abc-1` | Policy 1 (exact match) | ❌ Deny |
-|| `Topic:test-abc` | Policy 2 (exact match) | ✅ Allow |
-|| `Topic:test-123` | Policy 3 (prefix match) | ✅ Allow |
-|| `Topic:other` | Policy 4 (wildcard match) | ✅ Allow |
-|| `Group:TestGroup` | Policy 5 (any resource) | ❌ Deny |
+| Access Resource | Matched Policy | Final Decision |
+|----------------|----------------|----------------|
+| `Topic:test-abc-1` | Policy 1 (exact match) | ❌ Deny |
+| `Topic:test-abc` | Policy 2 (exact match) | ✅ Allow |
+| `Topic:test-123` | Policy 3 (prefix match) | ✅ Allow |
+| `Topic:other` | Policy 4 (wildcard match) | ✅ Allow |
+| `Group:TestGroup` | Policy 5 (any resource) | ❌ Deny |
### Permission Management Commands
diff --git a/versioned_docs/version-5.0/06-bestPractice/03access.md
b/versioned_docs/version-5.0/06-bestPractice/03access.md
index 1ca05cc7d7..3ba5482332 100644
--- a/versioned_docs/version-5.0/06-bestPractice/03access.md
+++ b/versioned_docs/version-5.0/06-bestPractice/03access.md
@@ -427,29 +427,29 @@ sh bin/mqadmin deleteUser -n 127.0.0.1:9876 -c
DefaultCluster -u username
#### 优先级规则
-|| 资源优先级(高→低) | 决策优先级 |
-||------------------|----------|
-|| 1. 具体资源类型 > 任意资源类型(`*`)<br/>2. 完全匹配 > 前缀匹配 > 通配符匹配<br/>3. 长资源名 > 短资源名 |
**Deny > Allow**<br/>(拒绝优先级高于允许) |
+| 资源优先级(高→低) | 决策优先级 |
+|------------------|----------|
+| 1. 具体资源类型 > 任意资源类型(`*`)<br/>2. 完全匹配 > 前缀匹配 > 通配符匹配<br/>3. 长资源名 > 短资源名 |
**Deny > Allow**<br/>(拒绝优先级高于允许) |
#### 优先级示例
-|| 策略 | 资源定义 | 操作 | 决策 | 优先级 |
-||------|---------|------|------|--------|
-|| 1 | `Topic:test-abc-1` | Pub,Sub | Deny | 最高 |
-|| 2 | `Topic:test-abc` | Pub,Sub | Allow | 高 |
-|| 3 | `Topic:test-*` | Pub,Sub | Allow | 中 |
-|| 4 | `Topic:*` | Pub,Sub | Allow | 低 |
-|| 5 | `*` | All | Deny | 最低 |
+| 策略 | 资源定义 | 操作 | 决策 | 优先级 |
+|------|---------|------|------|--------|
+| 1 | `Topic:test-abc-1` | Pub,Sub | Deny | 最高 |
+| 2 | `Topic:test-abc` | Pub,Sub | Allow | 高 |
+| 3 | `Topic:test-*` | Pub,Sub | Allow | 中 |
+| 4 | `Topic:*` | Pub,Sub | Allow | 低 |
+| 5 | `*` | All | Deny | 最低 |
**匹配结果**:
-|| 访问资源 | 匹配策略 | 最终决策 |
-||---------|---------|---------|
-|| `Topic:test-abc-1` | 策略1(完全匹配) | ❌ Deny |
-|| `Topic:test-abc` | 策略2(完全匹配) | ✅ Allow |
-|| `Topic:test-123` | 策略3(前缀匹配) | ✅ Allow |
-|| `Topic:other` | 策略4(通配符匹配) | ✅ Allow |
-|| `Group:TestGroup` | 策略5(任意资源) | ❌ Deny |
+| 访问资源 | 匹配策略 | 最终决策 |
+|---------|---------|---------|
+| `Topic:test-abc-1` | 策略1(完全匹配) | ❌ Deny |
+| `Topic:test-abc` | 策略2(完全匹配) | ✅ Allow |
+| `Topic:test-123` | 策略3(前缀匹配) | ✅ Allow |
+| `Topic:other` | 策略4(通配符匹配) | ✅ Allow |
+| `Group:TestGroup` | 策略5(任意资源) | ❌ Deny |
### 权限管理命令