summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/role_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/role_graph.h')
-rw-r--r--src/mongo/db/auth/role_graph.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/auth/role_graph.h b/src/mongo/db/auth/role_graph.h
index 50a0c47a857..42512312b64 100644
--- a/src/mongo/db/auth/role_graph.h
+++ b/src/mongo/db/auth/role_graph.h
@@ -41,6 +41,8 @@
namespace mongo {
+class OperationContext;
+
/**
* A graph of role and privilege relationships.
*
@@ -240,7 +242,8 @@ public:
* operation is not supported, and other codes (typically BadValue) if the oplog operation
* is ill-described.
*/
- Status handleLogOp(const char* op,
+ Status handleLogOp(OperationContext* txn,
+ const char* op,
const NamespaceString& ns,
const BSONObj& o,
const BSONObj* o2);