Skip to content

Commit 63158d1

Browse files
update
1 parent ff6c606 commit 63158d1

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

internal/cmd/mongodbflex/user/update/update.go

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

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

102102
cmd.Flags().Var(flags.UUIDFlag(), instanceIdFlag, "ID of the instance")
103103
cmd.Flags().String(databaseFlag, "", "The database inside the MongoDB instance that the user has access to. If it does not exist, it will be created once the user writes to it")

0 commit comments

Comments
 (0)