Commit Graph

91 Commits

Author SHA1 Message Date
Kyle Suarez
eb15955c67 SERVER-24724 authz for views
Adds special authorization logic to prevent a user from reading
normally-inaccessible collections via a view.
2016-08-11 11:07:41 -04:00
Charlie Swanson
3666300bea SERVER-24654 Add privilege checking for $facet stage. 2016-08-01 19:00:53 -04:00
Randolph Tan
6059f99366 SERVER-24393 rename assignKeyRangeToZone to updateZoneKeyRange 2016-07-26 14:23:05 -04:00
Randolph Tan
3274d62a05 SERVER-24393 Implement assignKeyRangeToZone and _configsvrAssignKeyRangeToZone 2016-07-26 14:23:05 -04:00
Mark Benvenuto
c1042b38c9 SERVER-24616 Add new getDiagnosticData command 2016-07-21 13:16:55 -04:00
Siyuan Zhou
16a914fa10 SERVER-24881 Add StepUp Command.
This reverts commit 05eca76c9d.
Fixed ErrorCodes in JS tests.
2016-07-06 13:30:23 -04:00
Jonathan Abrahams
05eca76c9d Revert "SERVER-24881 Add StepUp Command."
This reverts commit e3ee305be3.
2016-07-06 09:08:05 -04:00
Siyuan Zhou
e3ee305be3 SERVER-24881 Add StepUp Command. 2016-07-05 16:51:04 -04:00
Randolph Tan
1e765db836 SERVER-24381 Implement removeShardFromZone and _configsvrRemoveShardFromZone 2016-06-30 10:51:01 -04:00
Kaloian Manassiev
7f736859d3 SERVER-24720/SERVER-24782 Move serverStatus.balancer to a balancerStatus command
This change gets rid of the serverStatus.balancer section and moves its
functionality to a new balancer command called 'balancerStatus'.

In addition it gets rid of the 'controlBalancer' command and splits it
into two commands - balancerStart and balancerStop.
2016-06-29 15:00:16 -04:00
Kevin Albertson
6f0af04446 SERVER-5905 Add collStats aggregation stage 2016-06-24 17:40:02 -04:00
Mathias Stearn
a5e8fb2029 Revert "SERVER-5905 Add collStats aggregation stage"
This reverts commit a22d2843cc.
2016-06-24 13:00:15 -04:00
Kevin Albertson
a22d2843cc SERVER-5905 Add collStats aggregation stage
Signed-off-by: Kyle Suarez <kyle.suarez@mongodb.com>
2016-06-23 17:47:18 -04:00
Charlie Swanson
17a143c176 SERVER-24653 $graphLookup should check permissions on "from" collection. 2016-06-23 13:05:06 -04:00
Randolph Tan
f517b05141 SERVER-24379 Implement addShardToZone and _configsvrAddShardToZone 2016-06-22 15:17:13 -04:00
Kaloian Manassiev
4c98927f26 SERVER-22672 Move the sharding balancer to the CSRS primary
This change moves the sharding balancer to run on the primary of the CSRS
config server and removes it from the mongos instances.
2016-06-15 11:05:53 -04:00
Esha Maharishi
3ad77a8034 SERVER-24464 re-apply after revert and fix for SERVER-24126 2016-06-13 11:40:19 -04:00
Esha Maharishi
1f672d661f Revert "SERVER-24464 Write auth test cases for the _configsvrAddShard command"
This reverts commit b608e5c8bd.
2016-06-10 17:55:58 -04:00
Esha Maharishi
b608e5c8bd SERVER-24464 Write auth test cases for the _configsvrAddShard command 2016-06-10 16:31:00 -04:00
Vincent Do
e5e4a1aa6d SERVER-24160 Re-use serverStatus privilege string for lockInfo command 2016-05-31 10:43:20 -04:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Vincent Do
0c646e05b1 Revert "SERVER-24160 Add auth and auth test for lockInfo command"
This reverts commit cbb1f07f40.
2016-05-27 12:14:41 -04:00
Vincent Do
cbb1f07f40 SERVER-24160 Add auth and auth test for lockInfo command 2016-05-26 16:55:19 -04:00
Shane Harvey
0b49058203 SERVER-23184 Reduce listCollections privileges 2016-04-13 14:01:18 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
c070452eed SERVER-22341 fix jslint errors in jstests/auth with eslint --fix 2016-02-05 15:00:49 -05:00
Andreas Nilsson
ccd6e73ab9 SERVER-22237 Add enableSharding role for CloudManager 2016-02-03 14:42:05 -05:00
Spencer Jackson
21bcf6b127 SERVER-21724 Let backup role read system.profile 2015-12-15 15:59:58 -05:00
Misha Tyulenev
730e2cfca8 SERVER-21146 restrict splitChunk, moveChunk, mergeChunks on mongod to internal user only 2015-11-03 18:07:33 -05:00
Andreas Nilsson
fa24b6adab SERVER-20460 Make listIndexes authz check backwards compat 2015-09-23 13:20:58 -04:00
Andreas Nilsson
90d9a09c18 SERVER-20364 Let find privilege -> killCursor privilege 2015-09-16 14:22:27 -04:00
Andreas Nilsson
d9a98b8517 SERVER-19721 Restore the authSchemaUpgrade command
Fixed mongos rebase error for catalogManager(txn)
2015-09-08 10:47:48 -04:00
matt dannenberg
650871daad Revert "SERVER-20134 Restore the authSchemaUpgrade command"
This reverts commit 7a3fa1f56d.
2015-09-08 04:25:43 -04:00
Andreas Nilsson
7a3fa1f56d SERVER-20134 Restore the authSchemaUpgrade command 2015-09-07 20:50:11 -04:00
Benety Goh
769ef392ff SERVER-19940 extended auth checking for find and getMore commands to allow use of term only from internal clients.
The term field was added to the find/getMore commands to support replication protocol version 1 and is meant to be used by replica set nodes to communicate metadata to their sync sources.
2015-09-04 11:21:38 -04:00
James Wahlin
ae9df7fb11 SERVER-2227 Addition of index usage statistics 2015-09-03 16:20:17 -04:00
Spencer T Brody
2d8d8c8cce SERVER-19640 Correctly parse namespace in sharded dataSize command 2015-08-19 12:08:13 -04:00
Merry Mou
8fbd2f5bf9 SERVER-19131 Give clusterManager role privileges to config.tags 2015-08-14 16:10:08 -04:00
Merry Mou
9127eb85f6 SERVER-15893 Add validate privileges to root role. 2015-08-14 14:26:52 -04:00
David Storch
67b5319f3f SERVER-17544 enable authorization tests for find/getMore commands on mongos 2015-08-11 09:44:35 -04:00
Qingyang Chen
9dcfc9cc63 SERVER-16398 Remove support for "cursorInfo" command 2015-08-05 14:59:43 -04:00
James Cohan
155ce241ac SERVER-19398 Reset db and collection names in authorization tests 2015-07-31 17:14:47 -04:00
James Wahlin
13b7fba6b8 SERVER-19504 Remove indexStats command artifacts 2015-07-22 14:17:20 -04:00
David Storch
b8f0f273d8 SERVER-5811 implement the killCursors command for mongod
Implementing the killCursors command in mongos and the mongo shell is further work.
2015-06-23 14:16:18 -04:00
Adam Midvidy
1991daaff1 SERVER-7775 add currentOp command 2015-04-13 10:14:12 -04:00
Adam Midvidy
d6cd29d1fc SERVER-7775 add killOp command 2015-04-06 18:49:59 -04:00
David Storch
93bc8652f4 SERVER-17764 extend commands authorization test for find and getMore commands 2015-04-02 16:28:49 -04:00
Andreas Nilsson
1fc9d37170 SERVER-17529 Let find on system.namespaces imply listCollections 2015-03-27 11:16:32 -04:00
Adam Midvidy
8a805598bb SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-26 14:20:38 -04:00
Adam Midvidy
5e7aa5c9ef Revert "SERVER-7775 refactor fsyncUnlock to execute through standard command path"
This reverts commit 5c48ea0d3f.
2015-03-25 19:06:49 -04:00