mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 21:00:30 -06:00
return permissions also for project spaces (#6528)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
5
changelog/unreleased/add-permissions-to-report.md
Normal file
5
changelog/unreleased/add-permissions-to-report.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add permissions to report
|
||||
|
||||
The webdav REPORT endpoint only returned permissions for personal spaces and shares. Now also for project spaces.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6528
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user