Skip to content
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