rmongodb icon indicating copy to clipboard operation
rmongodb copied to clipboard

Set roles in mongo.add.user

Open stanstrup opened this issue 9 years ago • 1 comments

It would be nice if it was possible to define the "roles" with mongo.add.user.

stanstrup avatar Mar 23 '15 11:03 stanstrup

Unfortunately, underlying version of mongo-c-driver doesn't support this functionality. But we can do this using mongo.command and this createUser command. For example mongo.aggregation and some other functions are coded this way. Pull request is very welcome! :-)

dselivanov avatar Apr 02 '15 12:04 dselivanov