pingcap/tidb

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

Open

#16 749 ouverte le 23 avr. 2020

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Go (6 186 forks)batch import
component/bindinfocomponent/privilegeepic/sql-plan-managementfeature/acceptedhelp wantedtype/feature-request

Métriques du dépôt

Stars
 (40 090 stars)
Métriques de merge PR
 (Merge moyen 14j 4h) (346 PRs mergées en 30 j)

Description

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.

Guide contributeur