[MDEV-19610] stored function with "SQL SECURITY DEFINER" DEFINER requires COLUMN PRIVILEGES Created: 2019-05-28 Updated: 2019-05-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Stored routines |
| Affects Version/s: | 10.3.15 |
| Fix Version/s: | 10.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Noel Kuntze | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Arch Linux |
||
| Attachments: |
|
| Description |
|
MariaDB server 10.3.15 requires that the DEFINER, when the stored function has SQL SECURITY DEFINER set, has privileges not just for the whole table, but the specific columns as well. Output: A test SQL script is attached. Kind regards Noel Kuntze |
| Comments |
| Comment by Elena Stepanova [ 2019-05-28 ] | ||||||||||||||||||
|
Thanks for the report.
It also ends with
I coulldn't find anything in documentation about grants required for using TYPE OF, assigning to bar to clarify. |