Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ocm): publicKey can be disabled so capabilities do not match #51622

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Mar 21, 2025

Summary

When the public key feature is disabled null is returned for publicKey. So in this case we need to adjust the capabilities and return type of jsonSerialize().

Checklist

When the public key feature is disabled null is returned for
`publicKey`. So in this case we need to adjust the capabilities
and return type of `jsonSerialize()`.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux added this to the Nextcloud 32 milestone Mar 21, 2025
@susnux susnux requested review from nickvergessen, a team and provokateurin as code owners March 21, 2025 08:18
@susnux susnux requested review from artonge and skjnldsv and removed request for a team March 21, 2025 08:18
@susnux
Copy link
Contributor Author

susnux commented Mar 21, 2025

/backport to stable31

@provokateurin provokateurin merged commit 519ceee into master Mar 23, 2025
195 of 198 checks passed
@provokateurin provokateurin deleted the fix/ocm-public-key-is-optional branch March 23, 2025 18:34
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.

3 participants