Improving SQL DEFINERS for MV #63777
Labels
analyzer
Issues and pull-requests related to new analyzer
bug
Confirmed user-visible misbehaviour in official release
unexpected behaviour
Currently if you have a the following tables:
The minimum set of permission you currently need for a user to insert into the table:
If you don't specify
GRANT SELECT ON default.session_events TO user_1;
The insert will fail because of missing permission.
The permission should be covered by the definer. Ideally the only grant that should be needed would be:
GRANT INSERT ON default.session_events TO user_1;
The text was updated successfully, but these errors were encountered: