[MXS-4249] When creating user, the NoSQL 'userAdminAnyDatabase' role is not handled properly Created: 2022-08-22  Updated: 2022-09-14  Resolved: 2022-08-23

Status: Closed
Project: MariaDB MaxScale
Component/s: nosqlprotocol
Affects Version/s: 6.4.1, 22.08.0
Fix Version/s: 22.08.1

Type: Bug Priority: Major
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: 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.


Generated at Thu Feb 08 04:27:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.