Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8127

Need Roles and Privileges for Compass 1.2 documented.

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Environment:
      Compass 1.2.0 beta 2

      In our documentation for Compass, there is no reference to required permission for Compass to work. The issue in particular is applicable to Compass 1.2.0. Here is the error:

      I ACCESS   [conn19157] Unauthorized: not authorized on db to execute command { aggregate: "collname", pipeline: [ { $indexStats: {} }, { $project: { name: 1, usageHost: "$host", usageCount: "$accesses.ops", usageSince: "$accesses.since" } } ] }
      

      In this case the user has the built in role for read but also needs the privilege for indexStats

      We should follow up with the compass team to verify those are the only permissions needed now for Compass.

            Assignee:
            Unassigned Unassigned
            Reporter:
            joshua.maag@mongodb.com Joshua Maag
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 45 weeks, 3 days ago