Skip to content

Commit

Permalink
populate share jail
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic committed May 19, 2022
1 parent 7453692 commit 07e8d8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/populate-share-jail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: show mounted shares in virtual share jail root

The virtual share jail now shows the mounted shares to allow the desktop client to sync that collection.

https://github.com/cs3org/reva/pull/2884
https://github.com/owncloud/ocis/issues/3719
1 change: 1 addition & 0 deletions internal/grpc/services/gateway/usershareprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ func (s *svc) ListReceivedShares(ctx context.Context, req *collaboration.ListRec
// The `ListStorageSpaces` method in sharesstorageprovider/sharesstorageprovider.go needs the etags.
shareMetaData := make(map[string]share.Metadata, len(res.Shares))
for _, rs := range res.Shares {
// Stat .. here, only for etag and mtime? and then we throw the rest away?
sRes, err := s.Stat(ctx, &provider.StatRequest{Ref: &provider.Reference{ResourceId: rs.Share.ResourceId}})
if err != nil {
logger.Error().
Expand Down

0 comments on commit 07e8d8e

Please sign in to comment.