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 2021/06/21 10:13:26 UTC

[GitHub] [shardingsphere] lwclover opened a new pull request #10894: 实现自定义权限,可按照proxy用户分配schema权限

lwclover opened a new pull request #10894:
URL: https://github.com/apache/shardingsphere/pull/10894


   权限增强,配置样例如下:
   rules:
     - !AUTHORITY
       users:
         - root@:root
         - root1@:root1
       provider:
         type: CUSTOM_PRIVILEGES_PERMITTED
         props: 
           user-schema-mappings: root=test, root1=db_dal_admin, root1=test
   使用root用户登录proxy,可以看到数据库(也就是schema)test
   使用root1用户登录proxy,可以看到数据库(也就是schema)test和db_dal_admin
   
   


-- 
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.

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



[GitHub] [shardingsphere] terrymanu closed pull request #10894: 实现自定义权限,可按照proxy用户分配schema权限

Posted by GitBox <gi...@apache.org>.
terrymanu closed pull request #10894:
URL: https://github.com/apache/shardingsphere/pull/10894


   


-- 
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.

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



[GitHub] [shardingsphere] terrymanu commented on pull request #10894: 实现自定义权限,可按照proxy用户分配schema权限

Posted by GitBox <gi...@apache.org>.
terrymanu commented on pull request #10894:
URL: https://github.com/apache/shardingsphere/pull/10894#issuecomment-865046255


   **For English only**, other languages will not accept.


-- 
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.

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



[GitHub] [shardingsphere] terrymanu closed pull request #10894: 实现自定义权限,可按照proxy用户分配schema权限

Posted by GitBox <gi...@apache.org>.
terrymanu closed pull request #10894:
URL: https://github.com/apache/shardingsphere/pull/10894


   


-- 
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.

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



[GitHub] [shardingsphere] terrymanu commented on pull request #10894: 实现自定义权限,可按照proxy用户分配schema权限

Posted by GitBox <gi...@apache.org>.
terrymanu commented on pull request #10894:
URL: https://github.com/apache/shardingsphere/pull/10894#issuecomment-865046255


   **For English only**, other languages will not accept.


-- 
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.

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