summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_mock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50217 change auth op observer to handle $v:1 and $v:2 updatesIan Boros2020-08-271-1/+2
| | | | This commit also removes an implicit constructor for write_ops::UpdateModification.
* SERVER-50187 Use AuthzManagerExternalState::roleExists() to simplify role checksSara Golemon2020-08-201-0/+8
|
* SERVER-47731 Add FCV check for $v:2 delta oplog entriesIan Boros2020-07-311-3/+8
|
* SERVER-41068 remove map_util.hBilly Donahue2020-05-021-2/+4
|
* SERVER-45406 Plumb ExpressionContext through PlanStageIan Boros2020-02-281-4/+2
| | | | This patch includes also moves ownership of the collator to the ExpressionContext.
* SERVER-45454 Desugar where to expr + functionEric Cox2020-02-131-2/+4
|
* SERVER-44372 WeakFunction: a simplification of SHIM_ macrosBilly Donahue2019-11-071-3/+7
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-2/+1
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-141-3/+3
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-2/+2
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-6/+5
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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-39060 Add upsert function to Stitch Support LibraryJustin Seyster2019-01-281-2/+5
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-27/+29
|
* SERVER-37563 Remove all usages of getGlobalAuthorizationManagerKaloian Manassiev2018-10-121-1/+2
|
* SERVER-32348 Make UpdateDriver::parse() throw an exception instead of ↵Minji2018-06-291-4/+2
| | | | returning error Status
* SERVER-33008 Slice Authorization frameworkADAM David Alan Martin2018-05-111-0/+6
| | | | | | | | The Authorization framework was intertwined with many subsystems and needed to be properly abstracted in order to facilitate cutting down on certain unnecessary dependencies in some libraries. This also facilitates creating a reduced authorization framework for use in embedded builds.
* SERVER-33275 Remove `platform/unordered_`* headersADAM David Alan Martin2018-02-141-1/+0
| | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
* SERVER-30854 Remove ModifierInterface update code.Justin Seyster2017-12-141-14/+4
| | | | | | | | We left the deleted update system in 3.6 to support upgrades from 3.4, but newer versions will always use the new UpdateNode update system. Fun fact: this commit deletes more lines than were inserted by the previous 100 commits.
* SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContextTess Avitabile2017-09-291-9/+14
|
* SERVER-29136 Plumb update document key through to op logNathan Myers2017-09-251-1/+1
|
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-3/+1
|
* SERVER-30243: Move ArrayFilter class to expressions library, allowing for ↵Natalia Jacobowitz2017-07-251-1/+1
| | | | future re-usability with JSON Schema
* SERVER-29371 Move auth privilege.h/.cpp into own library for use in aggJames Wahlin2017-07-251-0/+1
|
* SERVER-29162 UpdateNode implementation should only validate modified fieldsTess Avitabile2017-06-301-3/+21
|
* SERVER-28762 Conditionally parse an update expression as an UpdateNode treeTess Avitabile2017-06-191-1/+2
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-1/+1
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28621 Parse BSON update expression into an UpdateNode treeTess Avitabile2017-04-201-1/+1
|
* SERVER-28534 Pass collection names around as NamespaceStrings more oftenGeert Bosch2017-04-021-3/+3
| | | | | | | Before this patch 'ns' values were often passed around as std::string or char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified collection name. Instead pass either plain 'dbName' value (as string) or a fully qualified name using the actual NamespaceString type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-13/+13
| | | | | | 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-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+2
|
* SERVER-23610 CanonicalQuery should own a CollatorInterfaceTess Avitabile2016-05-051-1/+1
|
* SERVER-23608 Make MatchExpressionParser take a CollatorInterface*Tess Avitabile2016-04-261-1/+2
|
* SERVER-21407 explicitly disallow $text/$where extensions during ↵David Storch2015-12-221-1/+2
| | | | MatchExpression parsing
* SERVER-19510 Move ExtensionsCallback out of MatchExpressionParserJason Rassi2015-11-121-1/+1
|
* SERVER-19510 Rename MatchExpressionParser::WhereCallbackJason Rassi2015-11-051-1/+1
|
* SERVER-16889 StatusWithMatchExpression replace ME* with unique_ptr<ME>Qingyang Chen2015-07-061-1/+1
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-245/+212
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-1/+1
|
* SERVER-18478 Clean up AuthzManagerExternalStateDaniel Alabi2015-05-211-0/+7
| | | | Removed insert/remove/update from the AuthzManagerExternalState* interfaces
* SERVER-18478 Get rid of UpdateGuard and simplify locking for user management ↵Daniel Alabi2015-05-181-6/+0
| | | | commands on mongod
* SERVER-17817 When setting up ClientBasic, get AuthorizationSession object ↵Andy Schwerin2015-04-061-0/+9
| | | | from AuthorizationManager.
* SERVER-13896 Replace logOp() with a more operation-aware observer interfacematt dannenberg2015-03-111-4/+1
|
* SERVER-15192 Make AuthzManager logOp listener rollback-safealabid2015-02-131-0/+9
| | | | | | | The initial version of this commit was initially reverted because boost::optional<bool> gives spurious warnings due to a GCC bug that should have been fixed in GCC 4.8.5. This commit makes no use of boost::optional.
* Revert "SERVER-15192 Make AuthzManager logOp listener rollback-safe"Siyuan Zhou2015-02-111-9/+0
| | | | This reverts commit 295cb7943e21a22f9f3a95006de21b07b254afd2.
* SERVER-15192 Make AuthzManager logOp listener rollback-safealabid2015-02-111-0/+9
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-15882 Remove dead index creation/deletion operations from ↵Andy Schwerin2014-11-041-16/+0
| | | | AuthzManagerExternalState.
* SERVER-14973 consolidate shard key parsing, cleanup shard key patternsGreg Studer2014-10-161-1/+1
|