REPORT: add permissions to personal space
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -181,6 +181,8 @@ func (p *Provider) Search(ctx context.Context, req *searchsvc.SearchRequest) (*s
|
|||||||
rootName = space.GetRootInfo().GetPath()
|
rootName = space.GetRootInfo().GetPath()
|
||||||
permissions = space.GetRootInfo().GetPermissionSet()
|
permissions = space.GetRootInfo().GetPermissionSet()
|
||||||
p.logger.Debug().Interface("grantSpace", space).Interface("mountpointRootId", mountpointRootID).Msg("searching a grant")
|
p.logger.Debug().Interface("grantSpace", space).Interface("mountpointRootId", mountpointRootID).Msg("searching a grant")
|
||||||
|
case "personal":
|
||||||
|
permissions = space.GetRootInfo().GetPermissionSet()
|
||||||
}
|
}
|
||||||
|
|
||||||
res, err := p.indexClient.Search(ctx, &searchsvc.SearchIndexRequest{
|
res, err := p.indexClient.Search(ctx, &searchsvc.SearchIndexRequest{
|
||||||
|
|||||||
Reference in New Issue
Block a user