Read Only Users & GridFS

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      When a user does GridFS lookup, many (most? all?) drivers kick in a "ensureIndex" operation to ensure the queries will hit an index to improve performance.

      This does not work for readOnly users, and will likely result in an error/exception being issued/thrown prohibiting the user to continue.

      The upcoming GridFS spec added the following:

      If this operation fails with a “not authorized” error while authenticated as a read-only user, GridFS should recover and continue. It is valid to use GridFS as a read-only user.

            Assignee:
            Barrie Segal (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: