Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8231

Unauthorized ops will only be logged when connection is not auth to any db

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Logging, Security
    • None
    • ALL

    Description

      Unauthorized ops will show up if the current client is not logged to any db (shows assert 16554).

      If the user is logged in to a db and tries to perform ops on another db which it is not authorized, no log will show up unless the verbosity is cranked up to at least level 1 (show assertion 16550).

      The behavior is inconsistent and can be misleading especially for users who intend to use logUserIds=1.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: