Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
-
None
Description
This is a follow-up for MDEV-7574.
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 MDEV-7574 from the CONNECT code and make it into an easy to use function that all plugins can use. And change plugins to use it.
Attachments
Issue Links
- is part of
-
MDEV-20549 SQL SECURITY DEFINER does not work for INFORMATION_SCHEMA tables
-
- Closed
-
- relates to
-
MDEV-7574 Security definer views don't work with CONNECT ODBC tables
-
- Closed
-
Activity
Assignee | Sergei Golubchik [ serg ] |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.0 [ 16000 ] |
Affects Version/s | 10.1 [ 16100 ] | |
Affects Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.1 [ 16100 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Link |
This issue is part of |
Component/s | Authentication and Privilege System [ 13101 ] | |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 70779 ] | MariaDB v4 [ 149423 ] |