[MDEV-21975] Add BINLOG REPLAY privilege and bind new privileges to gtid_seq_no, preudo_thread_id, server_id, gtid_domain_id Created: 2020-03-18 Updated: 2021-02-09 Resolved: 2020-03-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication, Variables |
| Fix Version/s: | 10.5.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Let's add a separate privilege BINLOG REPLAY to execute the BINLOG statement. The original 10.5.2 idea ( After this change, any user that has the SUPER privilege or the BINLOG REPLAY privilege will be allowed to execute the BINLOG STATEMENT. Also, let's bind new 10.5.2 privileges to the following system variables:
As of version 10.5.1 it works as follows:
Note, server_id and gtid_domain_id will have different privileges for SET GLOBAL and SET SESSION. This is intentional:
|