Skip to content

fix: Make the IProvideUserSecretBackend usable#60898

Merged
AndyScherzinger merged 1 commit into
masterfrom
carl/user-interface
Jun 23, 2026
Merged

fix: Make the IProvideUserSecretBackend usable#60898
AndyScherzinger merged 1 commit into
masterfrom
carl/user-interface

Conversation

@CarlSchwan

@CarlSchwan CarlSchwan commented Jun 1, 2026

Copy link
Copy Markdown
Member

Summary

When reviewing the implementation for user_saml (nextcloud/user_saml#697), I noticed that we do need to make the return value nullable as otherwise there are no way for this feature to be optional for the admin.

This is not really a breaking change as we can make the return type less strict without breaking an implemtable interface and more importantly no one use this interface.

Checklist

AI (if applicable)

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

@CarlSchwan CarlSchwan force-pushed the carl/user-interface branch 2 times, most recently from 18c1da1 to 1f4f9e5 Compare June 1, 2026 12:59
@CarlSchwan CarlSchwan added 3. to review Waiting for reviews team: IDP Code maintained by 🪪 IDP team labels Jun 1, 2026
Comment thread lib/public/Authentication/IProvideUserSecretBackend.php Outdated
@CarlSchwan CarlSchwan force-pushed the carl/user-interface branch from 1f4f9e5 to be8e80a Compare June 2, 2026 08:13
When implementing this for user_saml, I noticed that we do need to make
the return value nullable as otherwise there are no way for this feature
to be optional for the admin.

Signed-off-by: Carl Schwan <carlschwan@kde.org>

@cristianscheid cristianscheid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@CarlSchwan CarlSchwan enabled auto-merge June 23, 2026 10:39
@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable33

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable32

@AndyScherzinger AndyScherzinger disabled auto-merge June 23, 2026 15:14
@AndyScherzinger AndyScherzinger merged commit b54e98a into master Jun 23, 2026
278 of 296 checks passed
@AndyScherzinger AndyScherzinger deleted the carl/user-interface branch June 23, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants