Skip to content

fix(UserPlugin): Don't return disabled users on user ID and mail match#61984

Open
DerDreschner wants to merge 1 commit into
masterfrom
fix/dont-return-disabled-users
Open

fix(UserPlugin): Don't return disabled users on user ID and mail match#61984
DerDreschner wants to merge 1 commit into
masterfrom
fix/dont-return-disabled-users

Conversation

@DerDreschner

Copy link
Copy Markdown
Contributor

Summary

Disabled users are supposed to be hidden when using the share API. This isn't the case right now for two code branches: user ID match and email address match.

This is being fixed by this PR to make the behavior consistent. I've also added integration tests to ensure it doesn't change in the future (until it's being changed on-purpose).

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
@DerDreschner DerDreschner requested a review from a team as a code owner July 10, 2026 22:22
@DerDreschner DerDreschner requested review from ArtificialOwl and removed request for a team July 10, 2026 22:22
@DerDreschner DerDreschner added the 3. to review Waiting for reviews label Jul 10, 2026
@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable33

@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable32

@DerDreschner DerDreschner enabled auto-merge July 10, 2026 22:24
@DerDreschner DerDreschner requested a review from a team as a code owner July 10, 2026 22:55
@DerDreschner DerDreschner requested review from nfebe and sorbaugh and removed request for a team July 10, 2026 22:55
@DerDreschner DerDreschner force-pushed the fix/dont-return-disabled-users branch 2 times, most recently from ced4e42 to 40c0848 Compare July 11, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants