pingcap/tidb

`show grants` statement should contain the privilege informations for create bindings

Open

#16,749 创建于 2020年4月23日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (6,186 fork)batch import
component/bindinfocomponent/privilegeepic/sql-plan-managementfeature/acceptedhelp wantedtype/feature-request

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

Feature Request

tidb(localhost:4000) > show grants for root;
+-------------------------------------------------------------+
| Grants for root@%                                           |
+-------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION |
+-------------------------------------------------------------+
1 row in set (0.00 sec)

Grants for user doesn't show privilege info for bindings. But we have checked permission for users to create bindings.

贡献者指南