Skip to content

wording change #1633

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions source/reference/privilege-actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -367,16 +367,13 @@ Server Administration Actions
:dbcommand:`renameCollection` command. Apply this action to database
resources.

To rename collections across databases, a user must have
:authaction:`renameCollectionSameDB` on the cluster resource, and
additionally have the following:
If a collection with the new name already exists, then the user must
also have the following:

- Either *have* :authaction:`find` on the source or *do not* have
:authaction:`find` on either the source or destination, to prevent
circumvention of the permission.
- Either *have* :authaction:`find` on the source collection or *do
not* have :authaction:`find` on the existing collection.

- :authaction:`dropCollection` on the source, if the operation will
drop the source collection.
- The :authaction:`dropCollection` action on the existing collection.

.. authaction:: repairDatabase

Expand Down