[DOCS-2403] Comment on: "manual/reference/user-privileges.txt" Created: 12/Dec/13  Updated: 03/Nov/17  Resolved: 12/Dec/13

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

Type: Improvement Priority: Major - P3
Reporter: Gabriel Petrovay Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac, Mongo 2.4.6

Location: http://docs.mongodb.org/manual/reference/user-privileges/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 1680 x 1050
repo: docs
source: reference/user-privileges


Participants:
Days since reply: 10 years, 9 weeks, 6 days ago

 Description   

userAdminAnyDatabase only does not grant userAdmin access to the current database. Shouldn't this be mentioned in the docs?

Is it true that "userAdminAnyDatabase" requires "userAdmin" in order to work as described in this document?

I have described the problem here: http://stackoverflow.com/questions/20539376/a-mongodb-useradminanydatabase-user-cannot-admin-users-in-any-database-why



 Comments   
Comment by Sam Kleinman (Inactive) [ 12/Dec/13 ]

It appears that you're attempting to grant an "anyDatabase" role in a database other than the admin database, which is not expected to work. http://docs.mongodb.org/manual/reference/user-privileges/#any-database-roles

We're making revisions to this part of the documentation to support the forthcoming 2.6 release, which includes improvements to the authorization system, which should clarify the operation of these roles.

Cheers,
sam

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