Skip to content

Commit

Permalink
Editorial updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Meggielqk committed Feb 17, 2025
1 parent 1d64f18 commit d163c95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions en_US/access-control/authn/acl.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Access Control List

This page introduces ACL rules embedded in JWT and HTTP authentication responses.
This page introduces Access Control Lists (ACL) rules embedded in JWT and HTTP authentication responses. Currently, JWT authentication and HTTP authentication support permission presets, using ACL as an optional extension of the authentication result. For example, this can be a private claim `acl` defined in JWT, or an `acl` JSON property returned as part of the HTTP authentication response. After a client connects, its publish and subscribe actions are restricted by these ACL rules.

General ACL rules are stored in `acl.conf`. For details, see [acl.conf](../authz/file.md).

For more comprehensive authorization methods, refer to [Authorization](../authz/authz.md).

Currently, JWT authentication and HTTP authentication support permission presets, using Access Control Lists (ACL) as an optional extension of the authentication result. For example, this can be a private claim `acl` defined in JWT, or an `acl` JSON property returned as part of the HTTP authentication response. After a client connects, its publish and subscribe actions are restricted by these ACL rules.
General ACL rules are stored in `acl.conf`. For details, see [acl.conf](../authz/file.md). For more comprehensive authorization methods, refer to [Authorization](../authz/authz.md).

::: tip

Expand Down
8 changes: 2 additions & 6 deletions zh_CN/access-control/authn/acl.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# 权限列表

本页面介绍了 JWT 认证和 HTTP 认证支持的权限列表 (ACL) 规则。
本页面介绍了 JWT 认证和 HTTP 认证支持的权限列表 (ACL) 规则。目前,JWT 认证和 HTTP 认证支持权限预设,使用 ACL 作为认证结果的可选扩展,例如,JWT 中定义的私有声明 `acl`,或作为 HTTP 认证响应的一部分返回 `acl` JSON 属性。客户端连接后的发布和订阅动作将会受到这些 ACL 规则的限制。

通用的 ACL 规则存储在 `acl.conf` 中。详情请参见[acl.conf](../authz/file.md)

更全面的授权方法请参见[授权](../authz/authz.md)

目前,JWT 认证和 HTTP 认证支持权限预设,使用权限列表 (ACL) 作为认证结果的可选扩展,例如,JWT 中定义的私有声明 `acl`,或作为 HTTP 认证响应的一部分返回 `acl` JSON 属性。客户端连接后的发布和订阅动作将会受到这些 ACL 规则的限制。
通用的 ACL 规则存储在 `acl.conf` 中。详情请参见[acl.conf](../authz/file.md)。更全面的授权方法请参见[授权](../authz/authz.md)

::: tip
通过认证设置的权限列表,将优先于所有授权检查器被检查,参考[授权检查优先级](../authz/authz.md#授权检查优先级)
Expand Down

0 comments on commit d163c95

Please sign in to comment.