[DOCS-1745] Command documentation does not tell you the permissions required to run the command! Created: 25/Jul/13  Updated: 03/Nov/17  Resolved: 06/Feb/15

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

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Unassigned
Resolution: Done Votes: 1
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/command/copydb/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
Referrer: http://www.google.co.uk/url?sa=t&rct=j&q=mongo%20copydatabase%20permission&source=web&cd=7&ved=0CFsQFjAG&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fcommand%2Fcopydb&ei=diLxUZ2mIa_Z0QWU-YCgDw&usg=AFQjCNF8-F60rr8eIB252bJ5gQ4K9oMU4Q&sig2=CSeqpJaVZ3LFcfFj5TEWrw&bvm=bv.49784469,d.d2k
Screen Resolution: 1920 x 1200
repo: docs
source: reference/command/copydb


Issue Links:
Duplicate
is duplicated by DOCS-1965 Document the authorization roles need... Closed
is duplicated by DOCS-3150 Have each commands page list the requ... Closed
Participants:
Days since reply: 10 years, 29 weeks, 2 days ago

 Description   

So frustrating in the documentation is that each command does not come with a required set of permissions in the documentation.

I would expect to see something like:

copydb:

mongo version >2.4 require [blah] role
=2.4 require 'admin' privileges'

This is very frustrating, as I have now tried a whole bunch of different roles for each command, and without a reference, this is slowing me down immensely. I am still unable to tell which role is required for db.copyDatabase() - all I can see is "admin priviliges", which has been superceded by roles in 2.4 that I can see.

Anyway having this documentation would be very helpful.

Reporter: Geoff
E-mail: geoffm@fastmail.fm



 Comments   
Comment by Sam Kleinman (Inactive) [ 29/Jul/13 ]

All user roles and associated actions are documented here: http://docs.mongodb.org/manual/reference/user-privileges/

If you use legacy-form documents in system.user documents, then the old permission scheme (admin/normal) continue to work (unless explicitly disabled.)

We will leave this ticket open to track including information about required authentication on the actual command reference pages.

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