diff options
author | Daniel Alabi <alabidan@gmail.com> | 2015-05-22 13:01:37 -0400 |
---|---|---|
committer | Daniel Alabi <alabidan@gmail.com> | 2015-05-22 16:18:31 -0400 |
commit | 222ab1639e6782100a006aec49953a454df766d1 (patch) | |
tree | 7aad845e32a1e414e9bfb694c7cc072695e39d43 /src/mongo/db/auth/authorization_manager.h | |
parent | e94ae781af75f1652958f9d7e907d9631a87b0e6 (diff) | |
download | mongo-222ab1639e6782100a006aec49953a454df766d1.tar.gz |
SERVER-18328 SERVER-18478 AuthzManagerExternalState for mongos should go through the catalog manager
Diffstat (limited to 'src/mongo/db/auth/authorization_manager.h')
-rw-r--r-- | src/mongo/db/auth/authorization_manager.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/auth/authorization_manager.h b/src/mongo/db/auth/authorization_manager.h index 1f8db64b6d9..78e1e17ff82 100644 --- a/src/mongo/db/auth/authorization_manager.h +++ b/src/mongo/db/auth/authorization_manager.h @@ -198,18 +198,6 @@ namespace mongo { */ bool hasAnyPrivilegeDocuments(OperationContext* txn); - /** - * Finds all documents matching "query" in "collectionName". For each document returned, - * calls the function resultProcessor on it. - * Should only be called on collections with authorization documents in them - * (ie admin.system.users and admin.system.roles). - */ - Status queryAuthzDocument(OperationContext* txn, - const NamespaceString& collectionName, - const BSONObj& query, - const BSONObj& projection, - const stdx::function<void(const BSONObj&)>& resultProcessor); - // Checks to see if "doc" is a valid privilege document, assuming it is stored in the // "system.users" collection of database "dbname". // |