diff --git a/source/reference/privilege-actions.txt b/source/reference/privilege-actions.txt index cd05bcaa53d..43c273b294e 100644 --- a/source/reference/privilege-actions.txt +++ b/source/reference/privilege-actions.txt @@ -362,16 +362,15 @@ Server Administration Actions :dbcommand:`renameCollection` command. Apply this action to database resources. - If a collection with the new name already exists, then the user must - also have the following: + Additionally, the user must either *have* :authaction:`find` on the + source collection or *not have* :authaction:`find` on the destination + collection. - - Either *have* :authaction:`find` on the source, or *do not* - have :authaction:`find` on both the source and target - collections. + If a collection with the new name already exists, the user must also + have the :authaction:`dropCollection` action on the destination + collection. - .. CITE: https://github.com/mongodb/mongo/blob/master/src/mongo/db/commands/rename_collection_common.cpp#L53-56 - - - The :authaction:`dropCollection` action on the source collection. + .. CITE: https://github.com/mongodb/mongo/blob/master/src/mongo/db/commands/rename_collection_common.cpp#L53-56 .. authaction:: repairDatabase