[MDEV-29668] SUPER should not allow actions that have fine-grained dedicated privileges Created: 2022-09-29 Updated: 2023-08-07 Resolved: 2023-02-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Fix Version/s: | 11.0.1 |
| Type: | Task | Priority: | Critical |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Preview_11.0 | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
After
For example, to set a binlog format one needs either BINLOG ADMIN or SUPER privilege. This task is about removing SUPER privilege check from all these actions that have a dedicated privilege. For example, one will need to have BINLOG ADMIN to change the binlog format, SUPER will not be sufficient anymore. When upgrading from an older version everyone having SUPER should automatically get (for example) BINLOG ADMIN. See how it was done in |
| Comments |
| Comment by Alexander Barkov [ 2022-12-13 ] |
|
Hi serg. The patch https://github.com/MariaDB/server/commit/ae4101eb7359f148938e604634685dcf2de93135 is OK to push. A small cosmetic note: |
| Comment by Sergei Golubchik [ 2022-12-27 ] |
|
see the final version in the preview-11.0-preview branch |
| Comment by Alice Sherepa [ 2023-02-06 ] |
|
It is ok to push it to the main branch |