[master < ] Remove DbAccessor from non-transactional queries (#1201)
* Decouple non-transactional queries from DbAccessor * Invalidate auth cache after AuthQuery Co-authored-by: Gareth Lloyd <gareth.lloyd@memgraph.io>
This commit is contained in:
@@ -47,6 +47,7 @@ class MockAuthChecker : public memgraph::query::AuthChecker {
|
||||
MOCK_CONST_METHOD2(GetFineGrainedAuthChecker,
|
||||
std::unique_ptr<memgraph::query::FineGrainedAuthChecker>(
|
||||
const std::string &username, const memgraph::query::DbAccessor *db_accessor));
|
||||
MOCK_CONST_METHOD0(ClearCache, void());
|
||||
#endif
|
||||
};
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user