-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.12
-
Component/s: None
-
None
-
Query Execution
-
(copied to CRM)
According to the documentation users can run
db.currentOp( { "$ownOps": true } )
on mongod to view their own operations even without the inprog privilege action.
In order to be consistent, this command should also work for sharded systems and not only for single mongod's. However, it fails when executed on mongos:
mongos> db.currentOp( { "$ownOps": true } ) { "ok" : 0, "errmsg" : "not authorized on admin to execute command { currentOp: 1.0, $ownOps: true }", "code" : 13 } mongos>
- related to
-
SERVER-5261 Include authentication information in currentOp results
- Closed