Charlie Swanson
c15f4bb96d
SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports
2015-09-09 13:14:48 -04:00
Spencer T Brody
8b75280296
SERVER-17971 Make ShardingTest start single-server config servers as replica sets
2015-04-23 14:30:19 -04:00
Spencer T Brody
6ccb82c987
SERVER-17450 Standardize on a single way to start mongod in tests
2015-04-06 18:19:21 -04:00
Dan Pasette
abf39b71c7
SERVER-15973 disable sharding/auth.js and re-enable auth/auth1.js
2014-11-05 19:28:06 -05:00
Dan Pasette
4519206ce6
SERVER-15973 disable zbigMapReduce.js and auth1.js on 32-bit
2014-11-05 16:45:55 -05:00
Andreas Nilsson
666d7d2af4
SERVER-7596 Make authSchemaVersion 28Final if no user docs
2014-11-04 12:39:01 -05:00
Andreas Nilsson
203a02ca8f
SERVER-15521 Make SCRAM-SHA-1 default pw algo in shell
2014-10-06 13:48:30 -04:00
Amalia Hawkins
1b4b52a9d4
SERVER-12621 narrow the localhost exception when auth is enabled
2014-05-22 20:29:39 -04:00
Randolph Tan
386f1b32ba
SERVER-13191 migrate auth jstest suite to use write commands api
2014-03-26 15:34:37 -04:00
Spencer T Brody
49fd6dbb2b
SERVER-11555 Replace all occurrences of addUser with createUser in jstests
2013-11-06 17:11:39 -05:00
Benety Goh
2e10439eba
SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell
2013-10-29 13:11:41 -04:00
Spencer T Brody
f0c6cebd73
SERVER-10794 Maintain backwards-compatible form of addUser for one more release
2013-10-11 18:14:12 -04:00
Spencer T Brody
1fde472858
SERVER-6246 SERVER-9515 Rename removeUser and removeRole commands to dropUser/dropRole
2013-10-06 12:02:45 -04:00
Andy Schwerin
3bc344db79
SERVER-1105 Update AuthorizationSession's logic for collection-level access control.
...
Also requires changing the privileges of the built-in roles. This patch takes the opportunity to remove the 2.2-style read-only roles in favor of the 2.4-style "read" and "readAnyDatabase" roles, and renames the 2.2-style read-write roles "dbOwner" and "root". The "root" name, at least, is subject to change prior to the next unstable release.
Test harnesses are updated as needed to use the correct builtin roles.
2013-09-26 14:33:43 -04:00
Spencer T Brody
ec23a4a358
SERVER-9517 Update tests to pass with new user schema
2013-09-06 12:31:22 -04:00
Spencer T Brody
211099e4bb
SERVER-6246 Restrict direct removes from system.users, add a shell helper to use the removeUser command, and update tests to use the helper
2013-08-01 14:12:09 -04:00
Andy Schwerin
f62d600cb0
SERVER-1891 Consolidate command authorization checking logic.
...
This reverts commit 2e2a6fdffd and also fixes the build break that the
original "Consolidate command authorization checking logic" patch introduced.
2013-07-17 14:35:14 -04:00
Andy Schwerin
2e2a6fdffd
Revert "SERVER-1891 Consolidate command authorization checking logic."
...
This reverts commit d430713c40 .
2013-07-10 16:43:31 -04:00
Andy Schwerin
d430713c40
SERVER-1891 Consolidate command authorization checking logic.
2013-07-10 13:26:13 -04:00
Spencer T Brody
35ed8f8722
SERVER-6246 Fix some tests to work with new createUser command
2013-06-20 15:24:52 -04:00
Eric Milkie
d10e66f541
SERVER-5228 SERVER-8104 fix unit test as access in reduce function is restricted again
2013-01-18 22:32:25 -05:00
Spencer T Brody
8023819729
SERVER-8014 Add db.changeUserPassword shell helper
2013-01-02 18:44:38 -05:00
Eliot Horowitz
161fdc6f34
update test for new system.profile user entry
2012-12-22 00:38:05 -05:00
Spencer T Brody
bb8b3e59cf
Don't call setLastError when commands fail
2012-12-21 12:41:28 -05:00
Spencer T Brody
7f065fe11d
SERVER-7122 Fix tests now that $eval requires full admin access
2012-12-19 12:26:55 -05:00
Spencer T Brody
5172fa4b00
SERVER-7572 Change a bunch of commands to not require auth in old authorization system
2012-12-07 17:47:52 -05:00
Dwight
0e140e7862
SERVER-4328 support nested locking of admin database. we need this for auth. more work to be done though as the acquisition of the lock isnt in the code yet in the higher layers afaik
2012-03-21 16:13:43 -04:00
Mathias Stearn
1afdf32715
Don't allow read-only users to read from system.users collection SERVER-4692
2012-03-08 19:48:51 -05:00
Mathias Stearn
d06ef3bd8e
fix broken bits in reenabled test
...
Prep for SERVER-4692
Uncovered SERVER-5228
2012-03-08 19:48:51 -05:00
Mathias Stearn
5cf72997e3
Features cmd no longer has readlock field
...
Prep for SERVER-4692
readlock field removed in commit 35031d43d7
2012-03-08 19:48:51 -05:00
Eliot Horowitz
524af38b3f
fix test for getLog auth
2012-01-17 01:09:36 -05:00
Kristina
a5cfd6af34
make getLastError require auth SERVER-3773
2011-09-30 13:11:21 -04:00
Kristina
991bfa6eae
more commands require authentication SERVER-3773
...
Not getLastError, for now, as it's a little more complicated.
2011-09-29 13:07:14 -04:00
Eliot Horowitz
8bb232d7b3
test for SERVER-3074
2011-05-10 14:50:32 -04:00
Eliot Horowitz
af54331c38
fix a number of invalid assert.throws
2011-01-21 07:58:02 -05:00
Eliot Horowitz
d1c3f1a9eb
don't run readONly tests where its not supported
2010-02-07 15:25:38 -05:00
Eliot Horowitz
4786c923f8
fix test
2010-02-05 13:24:19 -05:00
yellow
5d823a9049
add assert messages
2010-02-05 12:43:37 -05:00
Aaron
7bc4b39c8c
SERVER-258 add test for copying a database
2010-02-02 17:44:58 -08:00
Aaron
95574b3c9e
SERVER-258 test debug
2010-02-02 13:52:52 -08:00
Aaron
a34be8d499
SERVER-258 test debug
2010-02-02 13:16:57 -08:00
Aaron
0131eaf887
Add debugging support for multiple destructors, and some guards to prevent this condition from arising
2010-02-01 15:41:04 -08:00
Aaron
53998ac7fc
SERVER-258 group work with read only mode
2010-02-01 11:17:14 -08:00
Aaron
946d42e8e7
SERVER-258 make db.eval work with read only mode
2010-02-01 10:31:08 -08:00
Aaron
6ba9f4c9bc
SERVER-258 add authWriteOnly mode
2010-01-26 17:28:49 -08:00
Aaron
dcce5e795e
SERVER-258 add readOnly auth mode
2010-01-26 17:04:09 -08:00