Details

    • Technical task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.5.4
    • N/A
    • Documentation
    • None

    Description

      As per the documentation, BINLOG MONITOR is new name for REPLICATION CLIENT from MariaDB 10.5.2, (REPLICATION CLIENT still supported as an alias for compatibility purposes). Permits running SHOW commands related to the binary log, in particular the SHOW BINLOG STATUS, SHOW REPLICA STATUS and SHOW BINARY LOGS statements.
      https://mariadb.com/kb/en/grant/#binlog-monitor

      But SHOW SLAVE STATUS and SHOW REPLICA STATUS failed even though BINLOG MONITOR privilege provided.

      MariaDB [(none)]> show grants;
      +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | Grants for dbsupp1@localhost |
      +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | GRANT PROCESS, SHOW DATABASES, BINLOG MONITOR, SHOW VIEW ON *.* TO "dbsupp1"@"localhost" IDENTIFIED BY PASSWORD '*' |
      | GRANT SELECT ON "mysql".* TO "dbsupp1"@"localhost" |
      | GRANT SELECT ON "performance_schema".* TO "dbsupp1"@"localhost" |
      +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
      3 rows in set (0.000 sec)
       
      MariaDB [(none)]> show slave status\G
      ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER, REPLICATION SLAVE ADMIN privilege(s) for this operation
      MariaDB [(none)]> SHOW REPLICA STATUS\G
      ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER, REPLICATION SLAVE ADMIN privilege(s) for this operation
      

      Now REPLICATION SLAVE ADMIN is bigger privileges for the user because with that, user can START/STOP SLAVE and use CHANGE MASTER. So I think SHOW SLAVE STATUS/SHOW REPLICA STATUS should be a part of BINLOG MONITOR only.

      Attachments

        Activity

          niljoshi Nilnandan Joshi created issue -
          niljoshi Nilnandan Joshi made changes -
          Field Original Value New Value
          Assignee Nilnandan Joshi [ niljoshi ]
          niljoshi Nilnandan Joshi made changes -
          Assignee Nilnandan Joshi [ niljoshi ]
          niljoshi Nilnandan Joshi made changes -
          Assignee Sujatha Sivakumar [ sujatha.sivakumar ]
          sujatha.sivakumar Sujatha Sivakumar (Inactive) made changes -
          Component/s Authentication and Privilege System [ 13101 ]
          sujatha.sivakumar Sujatha Sivakumar (Inactive) made changes -
          sujatha.sivakumar Sujatha Sivakumar (Inactive) made changes -
          Component/s Documentation [ 10903 ]
          Component/s Authentication and Privilege System [ 13101 ]
          Component/s Replication [ 10100 ]
          sujatha.sivakumar Sujatha Sivakumar (Inactive) made changes -
          Assignee Sujatha Sivakumar [ sujatha.sivakumar ] Ian Gilfillan [ greenman ]
          julien.fritsch Julien Fritsch made changes -
          Assignee Ian Gilfillan [ greenman ] Jacob Moorman [ jacob.moorman ]
          julien.fritsch Julien Fritsch made changes -
          Parent MDEV-23610 [ 91209 ]
          Issue Type Bug [ 1 ] Technical task [ 7 ]
          julien.fritsch Julien Fritsch made changes -
          manjot Manjot Singh (Inactive) made changes -
          julien.fritsch Julien Fritsch made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          serg Sergei Golubchik made changes -
          serg Sergei Golubchik made changes -
          Priority Critical [ 2 ] Major [ 3 ]
          julien.fritsch Julien Fritsch made changes -
          Epic Link MENT-51 [ 75581 ]
          GeoffMontee Geoff Montee (Inactive) made changes -
          Fix Version/s N/A [ 14700 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 115346 ] MariaDB v4 [ 158534 ]
          mariadb-jira-automation Jira Automation (IT) made changes -
          Zendesk Related Tickets 143808 130480

          People

            jacob.moorman Jacob Moorman (Inactive)
            niljoshi Nilnandan Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            9 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.