return permissions also for project spaces (#6528)

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
kobergj
2023-06-14 16:52:52 +02:00
committed by GitHub
parent 68fb5b4d50
commit 384488b8c7
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ func (s *Service) searchIndex(ctx context.Context, req *searchsvc.SearchRequest,
rootName = space.GetRootInfo().GetPath()
permissions = space.GetRootInfo().GetPermissionSet()
s.logger.Debug().Interface("grantSpace", space).Interface("mountpointRootId", mountpointRootID).Msg("searching a grant")
case "personal":
case "personal", "project":
permissions = space.GetRootInfo().GetPermissionSet()
}