pingcap/tidb

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

Open

#16,749 建立於 2020年4月23日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Go (40,090 star) (6,186 fork)batch import
component/bindinfocomponent/privilegeepic/sql-plan-managementfeature/acceptedhelp wantedtype/feature-request

描述

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.

貢獻者指南