Merge pull request #8928 from kobergj/FixAffectedUsersSSE

Fix AffectedUsers field of SSEs
This commit is contained in:
kobergj
2024-04-23 11:05:04 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Fix affected users on sses
The AffectedUsers field of sses now only reports affected users.
https://github.com/owncloud/ocis/pull/8928

View File

@@ -248,7 +248,7 @@ func addShareeData(ctx context.Context, gwc gateway.GatewayAPIClient, fe FileEve
return users, fe, err
}
fe.AffectedUserIDs = users
fe.AffectedUserIDs = us
// TODO: this list can get long. Should we add a limit? If yes, how big?
for _, u := range us {