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

GRANT OPTION allows to see databases

    XMLWordPrintable

Details

    Description

      to see a database, for example, in SHOW DATABASES a user must have at least some privilege on that database. GRANT OPTION is enough:

      GRANT USAGE ON *.* TO user@host WITH GRANT OPTION;
      

      allows to see all databases.

      As GRANT OPTION is not a real privilege, perhaps it shouldn't allow to see databases?

      MySQL Bug#25203933, fixed in 5.7.40 and in 8.0.17

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              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.