SERVER-136182ClosedDone

Run applyOps UUID-target authorization check regardless of oplogApplicationMode

SERVER-130139 added an authorization check for applyOps command ops (drop, dropIndexes, collMod, renameCollection) that resolve their target from the op's {{ui}}: the caller must be authorized for the collection the {{ui}} resolves to, not just the one named in {{o}}. That check only runs when the oplog application mode is {{kApplyOpsCmd}} (repl/apply_ops.cpp). The mode is taken directly from the client-supplied {{oplogApplicationMode}} field of the applyOps command, and {{OplogApplication::par

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc08.3.169.0.78.0.377.0.489.1.0-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.