[DOCS-8127] Need Roles and Privileges for Compass 1.2 documented. Created: 17/Jun/16  Updated: 11/Jan/17  Resolved: 20/Jun/16

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Joshua Maag Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Compass 1.2.0 beta 2


Issue Links:
Related
Participants:
Days since reply: 7 years, 34 weeks, 3 days ago

 Description   

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.



 Comments   
Comment by Matt Kangas [ 20/Jun/16 ]

I consider the issue noted by Joshua to be a bug in Compass 1.2; I've ticketed as INT-1520.

Kay - feel free to close this ticket.

Comment by Matt Kangas [ 17/Jun/16 ]

Compass 1.2 is in beta release currently, and we are aiming to have it generally available for MongoDB World.

Generated at Thu Feb 08 07:55:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.