phpmongodb/phpmongodb — pull request #1 by Ineentho (2014-05-19 19:33:27+00:00)
Title: Added partial non-admin support

I tried to add some partial support for connecting to a database other than /admin with only read/write rights on the user.

It won't crash on the index page at least, and you can do some basic operations. You can, however, click on a system collection to generate a error.

One of the problems with this is that it will show number of documents as a ?, I am not sure how the API calls work when you don't have admin access.

The code was just whopped together since I don't have any knowledge on how your software, so feel free to tweak the changes to make them less uggly.