Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped around | Irina Yatsenko | 2021-08-23 | 1 | -1/+1 |
| | | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter. | ||||
* | SERVER-50292 Refactor user acuisition via externalState | Sara Golemon | 2020-09-02 | 1 | -1/+1 |
| | |||||
* | SERVER-50187 Use AuthzManagerExternalState::roleExists() to simplify role checks | Sara Golemon | 2020-08-20 | 1 | -10/+13 |
| | |||||
* | SERVER-39338 Remove `stdx/functional.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -2/+2 |
| | |||||
* | SERVER-40529 Refresh pinned users in background thread | Jonathan Reams | 2019-05-28 | 1 | -4/+0 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -2/+2 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -26/+28 |
| | |||||
* | SERVER-31552 Allow users to be pinned in memory | Jonathan Reams | 2018-10-01 | 1 | -0/+4 |
| | |||||
* | Revert "SERVER-31552 Allow users to be pinned in memory" | Jonathan Reams | 2018-09-28 | 1 | -4/+0 |
| | | | | This reverts commit d8e10f2dcc4554c74cf1da9d40557233cad70fb1. | ||||
* | SERVER-31552 Allow users to be pinned in memory | Jonathan Reams | 2018-09-28 | 1 | -0/+4 |
| | |||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -2/+2 |
| | | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo. | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -21/+21 |
| | |||||
* | SERVER-18478 Remove lingering unused mutex in AuthzManagerExternalStateLocal | Daniel Alabi | 2015-05-26 | 1 | -1/+0 |
| | | | | | Also removes unused includes in AuthzManagerExternalState* files as a result of recent cleanup | ||||
* | SERVER-18478 Clean up AuthzManagerExternalState | Daniel Alabi | 2015-05-21 | 1 | -17/+0 |
| | | | | Removed insert/remove/update from the AuthzManagerExternalState* interfaces | ||||
* | SERVER-18478 Get rid of UpdateGuard and simplify locking for user management ↵ | Daniel Alabi | 2015-05-18 | 1 | -5/+0 |
| | | | | commands on mongod | ||||
* | SERVER-17817 When setting up ClientBasic, get AuthorizationSession object ↵ | Andy Schwerin | 2015-04-06 | 1 | -0/+3 |
| | | | | from AuthorizationManager. | ||||
* | SERVER-16940 Change pass-by-const-ref of StringData to pass-by-value | Tyler Brock | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | SERVER-15882 Remove dead index creation/deletion operations from ↵ | Andy Schwerin | 2014-11-04 | 1 | -8/+0 |
| | | | | AuthzManagerExternalState. | ||||
* | SERVER-15549 Remove AuthzManagerExternalState::getAllDatabaseNames | Kaloian Manassiev | 2014-10-07 | 1 | -3/+0 |
| | |||||
* | SERVER-15311 Never read from admin.system.new_users when looking for user ↵ | Andy Schwerin | 2014-09-18 | 1 | -3/+0 |
| | | | | | | | | documents. The master branch no longer needs to support the 2.4-2.6 upgrade process, obviating the need for this decision making. Removing it will reduce the likelihood of future errors, and simplifies storage concurrency control by removing the need for a multi-document atomic read. | ||||
* | SERVER-14668 remove no-OpCtx DBDirectClient and update all former users | Hari Khalsa | 2014-09-09 | 1 | -5/+10 |
| | |||||
* | SERVER-13961 Thread through OperationContext to the AuthorizationManager | Kaloian Manassiev | 2014-07-23 | 1 | -1/+2 |
| | |||||
* | SERVER-13961 Start using LockState from the OperationContext | Kaloian Manassiev | 2014-06-02 | 1 | -1/+2 |
| | |||||
* | SERVER-13961 Pass LockState to DBWrite and DBRead directly | Kaloian Manassiev | 2014-05-30 | 1 | -2/+4 |
| | | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS. | ||||
* | Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly" | Kaloian Manassiev | 2014-05-28 | 1 | -4/+2 |
| | | | | This reverts commit 0672061deb58aac931912bed68d014247c581968. | ||||
* | SERVER-13961 Pass LockState to DBWrite and DBRead directly | Kaloian Manassiev | 2014-05-28 | 1 | -2/+4 |
| | | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS. | ||||
* | SERVER-13882 Replace boost::function with stdx::function and boost::bind ↵ | Andy Schwerin | 2014-05-16 | 1 | -2/+2 |
| | | | | with stdx::bind. | ||||
* | SERVER-12664 Change nUpdated to nMatched in bulk api results | Randolph Tan | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | SERVER-9516 Factor out common code from mock & mongod implementations of ↵ | Andy Schwerin | 2013-11-08 | 1 | -42/+3 |
| | | | | AuthzManagerExternalState. | ||||
* | SERVER-9516 Remove unused methods from AuthzManagerExternalState. | Andy Schwerin | 2013-11-08 | 1 | -16/+2 |
| | |||||
* | Revert "SERVER-9516 Write version document to admin.system.version as needed ↵ | Andy Schwerin | 2013-10-25 | 1 | -2/+0 |
| | | | | | | | in mongod." This reverts commit 3d61067308f7f526ec00d79bcbb158d31fd413fa, which breaks multi-version because it replicates writes to admin.system.version at startup. | ||||
* | SERVER-9516 Write version document to admin.system.version as needed in mongod. | Andy Schwerin | 2013-10-25 | 1 | -0/+2 |
| | | | | At startup, for standalone mongod and master. Upon election to primary for replicaset members. | ||||
* | SERVER-11352 SERVER-6246 When acquiring lock to update user data block for 5 ↵ | Spencer T Brody | 2013-10-25 | 1 | -2/+1 |
| | | | | seconds before giving up | ||||
* | SERVER-11275 Apply relevant oplog entries to authorization manager. | Andy Schwerin | 2013-10-23 | 1 | -3/+1 |
| | | | | | Also, reinitialize the AuthorizationManager's data structures after replication initial sync. | ||||
* | SERVER-9516 Support for determining and examining the version of the auth ↵ | Andy Schwerin | 2013-10-18 | 1 | -0/+1 |
| | | | | schema in durable storage. | ||||
* | SERVER-6246 SERVER-9515 Update usersInfo and rolesInfo commands to new API | Spencer T Brody | 2013-10-06 | 1 | -0/+1 |
| | |||||
* | SERVER-10670 Maintain role graph consistency. | Andy Schwerin | 2013-10-05 | 1 | -0/+44 |
| | | | | | | | | Keeps the RoleGraph up to date in mongod, and converts MongoS to simply ask the config server for required information about users and roles. Performs somewhat aggressive cache invalidation of the users cache in mongod. Still no cache invalidation in mongos. | ||||
* | SERVER-9515 Add generic update method to AuthzManagerExternalState | Spencer T Brody | 2013-10-02 | 1 | -5/+7 |
| | |||||
* | SERVER-9517 Implement generic insert, update, and remove methods in ↵ | Spencer T Brody | 2013-09-23 | 1 | -13/+2 |
| | | | | AuthzManagerExternalState | ||||
* | SERVER-9517 Implement generic query method on AuthorizationManagerExternalState | Spencer T Brody | 2013-09-16 | 1 | -0/+4 |
| | |||||
* | SERVER-9980 Add write concern to user management commands | Spencer T Brody | 2013-09-12 | 1 | -10/+21 |
| | |||||
* | SERVER-9518 Add diagnostic "why" argument to authz data locking | Spencer T Brody | 2013-09-11 | 1 | -1/+1 |
| | |||||
* | SERVER-9518 Implement functions in mongos and mongod for locking ↵ | Spencer T Brody | 2013-09-11 | 1 | -0/+4 |
| | | | | authorization data | ||||
* | SERVER-9518 Rename AuthzUpgradeLockGuard and make it a generic guard for ↵ | Spencer T Brody | 2013-09-11 | 1 | -2/+2 |
| | | | | AuthorizationManager. | ||||
* | SERVER-8886 Add OpenSSL exception to files in src/mongo/db | Ian Whalen | 2013-09-06 | 1 | -0/+12 |
| | |||||
* | SERVER-6246 Change user management commands to use the new v2 style user ↵ | Spencer T Brody | 2013-09-06 | 1 | -2/+1 |
| | | | | documents | ||||
* | SERVER-9516 Logic of system.users schema upgrade process. | Andy Schwerin | 2013-09-03 | 1 | -6/+28 |
| | | | | | Includes AuthorizationManagerExternalState interface changes and implementation in the mock, plus unit tests. | ||||
* | SERVER-6246 Add removeUsers command | Spencer T Brody | 2013-08-01 | 1 | -0/+3 |
| | |||||
* | SERVER-9518 Catch exceptions in ExternalState functions | Spencer T Brody | 2013-07-23 | 1 | -4/+5 |
| |