Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1577

Investigate database being in crud options

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1

      Apparently database is part of crud options, which means when modifying a client with #with and changing the database the cluster gets reused. At the same time, database is used for authentication. What happens if the authed user does not have access to the new database if they tried directly connecting to it, but instead connected to some other database first and then used #with to change databases?

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: