Skip to content

Commit 0e3ac4a

Browse files
PietvanderMeulenrubenhoenle
authored andcommitted
mongodb-flex: add readWriteAnyDatabase role
1 parent 6b1f897 commit 0e3ac4a

File tree

1 file changed

+1
-1
lines changed
  • internal/cmd/mongodbflex/user/create

1 file changed

+1
-1
lines changed

internal/cmd/mongodbflex/user/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
103103
}
104104

105105
func configureFlags(cmd *cobra.Command) {
106-
roleOptions := []string{"read", "readWrite"}
106+
roleOptions := []string{"read", "readWrite", "readWriteAnyDatabase"}
107107

108108
cmd.Flags().Var(flags.UUIDFlag(), instanceIdFlag, "ID of the instance")
109109
cmd.Flags().String(usernameFlag, "", "Username of the user. If not specified, a random username will be assigned")

0 commit comments

Comments
 (0)