mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21743 Split up SUPER privilege to smaller privileges
This commit is contained in:
@ -112,10 +112,10 @@ CREATE DEFINER='mysqltest_inv'@'localhost'
|
||||
TRIGGER trg1 BEFORE INSERT ON t1
|
||||
FOR EACH ROW
|
||||
SET @new_sum = 0;
|
||||
ERROR 42000: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
|
||||
ERROR 42000: Access denied; you need (at least one of) the SUPER, SET USER privilege(s) for this operation
|
||||
connection default;
|
||||
use mysqltest_db1;
|
||||
GRANT SUPER ON *.* TO mysqltest_dfn@localhost;
|
||||
GRANT SET USER ON *.* TO mysqltest_dfn@localhost;
|
||||
disconnect wl2818_definer_con;
|
||||
connect wl2818_definer_con,localhost,mysqltest_dfn,,mysqltest_db1;
|
||||
connection wl2818_definer_con;
|
||||
|
Reference in New Issue
Block a user