Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4249

When creating user, the NoSQL 'userAdminAnyDatabase' role is not handled properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.4.1, 22.08.0
    • 22.08.1
    • nosqlprotocol
    • None

    Description

      If a user is created with the role userAdminAnyDatabase

      db.runCommand({createUser: "nosql_admin", pwd: "nosql_pwd", roles: ["dbAdminAnyDatabase", "userAdminAnyDatabase", "readWriteAnyDatabase"]});
      

      the creation will fail because an erroneous GRANT statement will be created.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1d 5h
                1d 5h

                Git Integration

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