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:
[email protected]