pingcap/tidb

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

Open

#16.749 aperta il 23 apr 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
component/bindinfocomponent/privilegeepic/sql-plan-managementfeature/acceptedhelp wantedtype/feature-request

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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.

Guida contributor