You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/08/04 09:48:27 UTC

[GitHub] [shardingsphere] Mike0601 opened a new pull request, #19868: modify according to new template

Mike0601 opened a new pull request, #19868:
URL: https://github.com/apache/shardingsphere/pull/19868

   For #19513 .
   
   Changes proposed in this pull request:
   -
   -
   -
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang merged pull request #19868: modify according to new template

Posted by GitBox <gi...@apache.org>.
RaigorJiang merged PR #19868:
URL: https://github.com/apache/shardingsphere/pull/19868


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang commented on a diff in pull request #19868: modify according to new template

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on code in PR #19868:
URL: https://github.com/apache/shardingsphere/pull/19868#discussion_r937595189


##########
docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authentication.cn.md:
##########
@@ -3,9 +3,20 @@ title = "权限"
 weight = 1
 +++
 
-用于配置登录计算节点的初始用户,和存储节点数据授权。
+权限配置用于设置能够连接到 ShardingSphere-Proxy 的用户,并可以为他们授予不同的权限。
 
-## 配置项说明
+## 背景信息
+
+在 ShardingSphere-Proxy 中,通过全局规则 Authority Rule (标识为 !AUTHORITY)来配置用户和授权信息。
+
+得益于 ShardingSphere 的可插拔架构,Proxy 提供了两种级别的权限提供者,分别是:
+
+- `ALL_PERMITTED`:授予所有权限,不鉴权;
+- `DATABASE_PERMITTED`:为用户授予指定逻辑库的权限,通过 user-database-mappings 进行映射。
+
+在配置 Authority Rule  时,管理员可根据需要选择使用哪一种权限提供者。

Review Comment:
   More than one space here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org