-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-3711 #1938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCS-3711 #1938
Conversation
If your database has no users, you *must* connect to :program:`mongod` | ||
using the :ref:`localhost exception <localhost-exception>` | ||
or use the :option:`--noauth <mongod --noauth>` option when starting | ||
:program:`mongod`. In such cases, skip to Step 3 of the procedure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wary of relative references (e.g. step 3) to other parts of content, particularly in includes files. This file is used six different files.
Also I'm not sure that this needs to be inside of a note block. It's not more special than the other items discussed in the file.
You can check for include-file use with the following operation:
$ giza includes graph -f /includes/access-create-user.rst
{
"/includes/access-create-user.rst": [
"/reference/command/createUser.txt",
"/reference/method/db.createUser.txt",
"/tutorial/add-admin-user.txt",
"/tutorial/add-user-administrator.txt",
"/tutorial/add-user-to-database.txt"
]
}
I think it probably makes sense to either put this directly in the tutorial source file or to make a separate include file to include beneath a new heading on the three relevant tutorials. |
Already done, building now to check syntax. It's staying in a note box because it's a gotcha - the information was already inline in the text and was missed by the ticket filer. Re: 'note', your wariness is duly noted (hah!). Unless you want me to nest note boxes, it's staying as it is a gotcha within a gotcha. This may change as we improve the docs milieu around user management, but that's out of scope for a ticket of this size and severity. |
I think it would be more effective and easier to catch if you dropped the note and italicize or bold the section. (Our movement away from note boxes comes from aje and above.) |
merged |
* DOCSP-44124-ToC-Refactor * DOCSP-44124-ToC-Refactor * DOCSP-44124-ToC-Refactor * DOCSP-44124-ToC-Refactor * DOCSP-44124-ToC-Refactor * DOCSP-44124 copy edits * DOCSP-44124 adding ampersand (cherry picked from commit fb446a6)
Clarify different procedure for adding first user admin or root user