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

'show grants' return privileges individually

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.15
    • Fix Version/s: 10.3.17, 10.4.7
    • Component/s: Server
    • Labels:
      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

            Assignee:
            anel Anel Husakovic
            Reporter:
            laocius TAO ZHOU
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: