• evgen@moonbone.local's avatar
    Bug#26813: The SUPER privilege is wrongly required to alter a view created by · 1ac5987a
    evgen@moonbone.local authored
    another user.
    
    When the DEFINER clause isn't specified in the ALTER statement then it's loaded
    from the view definition. If the definer differs from the current user then
    the error is thrown because only a super-user can set other users as a definers.
    
    Now if the DEFINER clause is omitted in the ALTER VIEW statement then the
    definer from the original view is used without check.
    1ac5987a
view_grant.test 28.1 KB