From a66508445c9fe9c4bc3b55eb3bdaff147670bd39 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 9 Dec 2021 00:06:10 +0100
Subject: [PATCH] Add permissions to SessionInfo

---
 proto/caosdb/info/v1/main.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proto/caosdb/info/v1/main.proto b/proto/caosdb/info/v1/main.proto
index 4968a40..ab3b294 100644
--- a/proto/caosdb/info/v1/main.proto
+++ b/proto/caosdb/info/v1/main.proto
@@ -65,6 +65,8 @@ message GetSessionInfoResponse {
   repeated string roles = 3;
   // Seconds until this sessions expires (approximately).
   int64 expires = 4;
+  // The permissions of the user who owns this sessions
+  repeated string permissions = 5;
 }
 
 // A service which provides general information about the server.
-- 
GitLab