[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/ |
||
| 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, |