[MDEV-8545] Security definer views don't work with engine's privilege checks Created: 2015-07-27 Updated: 2019-09-10 Resolved: 2019-09-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Plugins |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
This is a follow-up for Different engines check user privileges for some reasons. For example, InnoDB and XtraDB often check PROCESS privilege in the I_S code. All these checks always use invoker's privileges, and don't respect SQL SECURITY DEFINER of views. We should extract the fix for |