Skip to content

fix(settings): Load guest details by user id instead of email - #1670

Merged
CarlSchwan merged 1 commit into
nextcloud:mainfrom
solracsf:fix/guest-details-panel-uid
Aug 21, 2026
Merged

fix(settings): Load guest details by user id instead of email#1670
CarlSchwan merged 1 commit into
nextcloud:mainfrom
solracsf:fix/guest-details-panel-uid

Conversation

@solracsf

Copy link
Copy Markdown
Member

The guest list passed the email address to GuestDetails, which requests /apps/guests/api/v1/users/{userId}. That endpoint resolves shares by user id, and hashing the email into the user id is the default, so expanding a row showed an empty share list even though the "Received shares" column of the very same row reported shares.

@solracsf solracsf added bug Something isn't working 3. to review Waiting for reviews labels Aug 16, 2026
The guest list passed the email address to GuestDetails, which requests
/apps/guests/api/v1/users/{userId}. That endpoint resolves shares by
user id, and hashing the email into the user id is the default, so
expanding a row showed an empty share list even though the "Received
shares" column of the very same row reported shares.

Verified against a guest with one incoming share: getGuestInfo() returns
one share for the user id and none for the email address.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@CarlSchwan
CarlSchwan force-pushed the fix/guest-details-panel-uid branch from cd33460 to fd4e123 Compare August 21, 2026 08:25
@CarlSchwan
CarlSchwan enabled auto-merge August 21, 2026 08:30
@CarlSchwan
CarlSchwan merged commit e7de1f3 into nextcloud:main Aug 21, 2026
45 checks passed
@solracsf
solracsf deleted the fix/guest-details-panel-uid branch August 21, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants