diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2020-06-23 14:20:48 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-02 15:34:37 +0000 |
commit | ebe622f95a071d7d769298b68ecf45b6cdff8e39 (patch) | |
tree | 28fe923dbe17deac6e73fffcac4074d9d860c72c /src/mongo/db/auth/authorization_session_impl.h | |
parent | 986028e17b939b4246b3d071ca6945a15604f0fc (diff) | |
download | mongo-ebe622f95a071d7d769298b68ecf45b6cdff8e39.tar.gz |
SERVER-49077 IDLify UMC Mutation commands
Diffstat (limited to 'src/mongo/db/auth/authorization_session_impl.h')
-rw-r--r-- | src/mongo/db/auth/authorization_session_impl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/auth/authorization_session_impl.h b/src/mongo/db/auth/authorization_session_impl.h index 9e1417eaccf..b7896daf518 100644 --- a/src/mongo/db/auth/authorization_session_impl.h +++ b/src/mongo/db/auth/authorization_session_impl.h @@ -46,10 +46,6 @@ namespace mongo { -namespace auth { -struct CreateOrUpdateRoleArgs; -} - class Client; /** @@ -144,7 +140,7 @@ public: bool isAuthorizedToParseNamespaceElement(const BSONElement& elem) override; - bool isAuthorizedToCreateRole(const auth::CreateOrUpdateRoleArgs& args) override; + bool isAuthorizedToCreateRole(const RoleName& roleName) override; bool isAuthorizedToGrantRole(const RoleName& role) override; |