Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21973

Bind REPLICATION {MASTER|SLAVE} ADMIN to gtid_* GLOBAL-only system variables

Details

    Description

      Let's bind GLOBAL-only gtid_* system variables to the recently added privileges as follows:

      Name                     Scope           New GLOBAL privilege
      ----                     -------------   ---------------------------------
      gtid_binlog_state        GLOBAL          SUPER or REPLICATION MASTER ADMIN
      gtid_cleanup_batch_size  GLOBAL          SUPER or REPLICATION SLAVE ADMIN
      gtid_ignore_duplicates   GLOBAL          SUPER or REPLICATION SLAVE ADMIN
      gtid_pos_auto_engines    GLOBAL          SUPER or REPLICATION SLAVE ADMIN
      gtid_slave_pos           GLOBAL          SUPER or REPLICATION SLAVE ADMIN
      gtid_strict_mode         GLOBAL          SUPER or REPLICATION SLAVE ADMIN
      

      As of version 10.5.1, a SET command for these global variables required the SUPER privilege.

      Attachments

        Issue Links

          Activity

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            Description
            Let's bind GLOBAL-only gtid_* system variables to the recently added privileges as follows:
            {noformat}
            Name Scope New GLOBAL privilege
            ---- ------------- ---------------------------------
            gtid_binlog_state GLOBAL SUPER or REPLICATION MASTER ADMIN
            gtid_cleanup_batch_size GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_ignore_duplicates GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_pos_auto_engines GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_slave_pos GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_strict_mode GLOBAL SUPER or REPLICATION SLAVE ADMIN
            {noformat}

            As of version 10.5.1 they required the SUPER privilege.
            Let's bind GLOBAL-only gtid_* system variables to the recently added privileges as follows:
            {noformat}
            Name Scope New GLOBAL privilege
            ---- ------------- ---------------------------------
            gtid_binlog_state GLOBAL SUPER or REPLICATION MASTER ADMIN
            gtid_cleanup_batch_size GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_ignore_duplicates GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_pos_auto_engines GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_slave_pos GLOBAL SUPER or REPLICATION SLAVE ADMIN
            gtid_strict_mode GLOBAL SUPER or REPLICATION SLAVE ADMIN
            {noformat}

            As of version 10.5.1, a SET command for these global variables required the SUPER privilege.
            bar Alexander Barkov made changes -
            issue.field.resolutiondate 2020-03-18 13:19:28.0 2020-03-18 13:19:28.905
            bar Alexander Barkov made changes -
            Fix Version/s 10.5.2 [ 24030 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            bar Alexander Barkov made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 105740 ] MariaDB v4 [ 134216 ]

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.