-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Use the following config:
{
...
"restricted_privileges": [
"Drop",
"Config",
"File",
"Shutdown",
"BACKUP_ADMIN",
"RESTORE_ADMIN",
"PLACEMENT_ADMIN"
],
...
}
mysql> use test;
Database changed
mysql> CREATE USER 'u1'@'%' IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.01 sec)
mysql> grant drop on *.* to u1@'%';
Query OK, 0 rows affected (0.01 sec)
2. What did you expect to see? (Required)
Cannot grant Drop.
3. What did you see instead (Required)
Grant Drop successfully.
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.