summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authorization_manager_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/authorization_manager_impl.h')
-rw-r--r--src/mongo/db/auth/authorization_manager_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authorization_manager_impl.h b/src/mongo/db/auth/authorization_manager_impl.h
index ba2d214d12a..933bbc02e32 100644
--- a/src/mongo/db/auth/authorization_manager_impl.h
+++ b/src/mongo/db/auth/authorization_manager_impl.h
@@ -72,6 +72,8 @@ public:
const UserName& userName,
BSONObj* result) override;
+ Status rolesExist(OperationContext* opCtx, const std::vector<RoleName>& roleNames) override;
+
Status getRoleDescription(OperationContext* opCtx,
const RoleName& roleName,
PrivilegeFormat privilegeFormat,