forked from mysql/mysql-server
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #31077699: NORMAL USER CAN CREATE VIEW/PROC/TRIG WITH
DEFINER=USER_WITH_SYSTEM_USER_PRIV RB#24132 The fetch of the ACL map for the current user was done based on the login user and not the authenticated user. This caused artificially created execution contexts that lack the login user being set to find the wrong ACL map. Fixed by using the privileged user instead.
- Loading branch information
1 parent
a4b2a21
commit 7d10c82
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters