mongodb/mongo-ruby-driver — pull request #88 by Oscil8 (2012-02-12 21:32:25+00:00)
Title: Add read_only option to DB.add_user

Add a boolean read_only parameter to DB.add_user which defaults to false; this is equivalent to the corresponding JavaScript console API.

Let me know if the testing is not sufficient.