From c0574f16ca7960a3301230ba36ba96148818e229 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 16 May 2018 05:29:39 +0200 Subject: Add method to get user groups --- src/Database.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Database.cpp') diff --git a/src/Database.cpp b/src/Database.cpp index 82cb21e..241d9a5 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -665,4 +665,9 @@ namespace odhtdb { return databaseStorage.getStoredUserNodeDataDecrypted(username, password); } + + vector Database::getUserGroups(const Hash &nodeHash, const Signature::PublicKey &userPublicKey) const + { + return databaseStorage.getUserGroups(nodeHash, userPublicKey); + } } -- cgit v1.2.3