summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2020-08-07 17:20:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-20 17:20:11 +0000
commit526230bafa6e5a49f5783507734fba93486c19ae (patch)
tree0368297ed96c038934c356259c901e3c931643dc /src/mongo/embedded
parentfbde2a22dab3eaf64c5aec542811be954faaf7e1 (diff)
downloadmongo-526230bafa6e5a49f5783507734fba93486c19ae.tar.gz
SERVER-50187 Use AuthzManagerExternalState::roleExists() to simplify role checks
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/embedded_auth_manager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/embedded/embedded_auth_manager.cpp b/src/mongo/embedded/embedded_auth_manager.cpp
index 671fab3c41d..aef2b61d650 100644
--- a/src/mongo/embedded/embedded_auth_manager.cpp
+++ b/src/mongo/embedded/embedded_auth_manager.cpp
@@ -74,6 +74,10 @@ public:
UASSERT_NOT_IMPLEMENTED;
}
+ Status rolesExist(OperationContext*, const std::vector<RoleName>&) override {
+ UASSERT_NOT_IMPLEMENTED;
+ }
+
Status getRoleDescription(OperationContext*,
const RoleName&,
PrivilegeFormat,