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

Give checkAuthFor[insert,update,remove,etc] all the information they need to handle all special namespaces.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.1
    • 2.4.3
    • Internal Code, Security
    • None

    Description

      Right now we have special handling of system namespaces in multiple places. system.profile and system.users are handled by _modifyPrivilegeForSpecialNamespaces in the AuthorizationManager, but system.indexes is handled specially elsewhere in code.
      We'd like to consolidate the special casing of system indexes to all be within the AuthorizationManager. This can't happen right now because the checkAuth* methods only take a namespace, they don't take the object being inserted, updated, queried, etc.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: