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

'show grants' return privileges individually

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.3.15
    • 10.3.17, 10.4.7
    • Server
    • None

    Description

      After upgrading from 10.2.24 to 10.3.15, I found that `show grants` does not return "ALL PRIVILEGES" but returns every single privilege individually.

      Before upgrading it returns

      GRANT ALL PRIVILEGES ON `app\_test`.* TO 'app_test'@'10.29.67.141' |
      

      After:

      GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON `app\_test`.* TO 'app_test'@'10.29.67.141' |
      

      I tried recreating the user and running 'grant all privileges' again, but still the same result.

      Attachments

        Activity

          People

            anel Anel Husakovic
            laocius TAO ZHOU
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.