Skip to content

Conversation

nfebe
Copy link
Contributor

@nfebe nfebe commented Jan 28, 2025

Previously, the sendPasswordToOwner method would only trigger if password enforcement was enabled and sending the password to the recipient failed. This behavior was inconsistent with the intended functionality, as the owner should receive the password whenever sending to the recipient fails, regardless of whether password enforcement is enabled.

This change ensures that the owner is notified of the password whenever sending it to the recipient fails, improving consistency and user experience.

Fixes : #50512

Uses : #50515

@nfebe
Copy link
Contributor Author

nfebe commented Jan 28, 2025

/backport to stable31

@nfebe
Copy link
Contributor Author

nfebe commented Jan 28, 2025

/backport to stable30

@nfebe
Copy link
Contributor Author

nfebe commented Jan 28, 2025

/backport to stable29

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

Tests need to be adjusted

@nfebe nfebe force-pushed the fix/50512/send-password-2-owner branch from 9e6fdc5 to beacb35 Compare January 29, 2025 11:40
nfebe added 2 commits January 29, 2025 12:42
Previously, the share owner notification email did not display the recipient email addresses,
making it difficult for the owner to know who the share was sent to.
This fix ensures that the recipient email addresses are included in the notification email.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
…f enforcement

Previously, the `sendPasswordToOwner` method would only trigger if password enforcement was enabled and sending the password to the recipient failed. This behavior was inconsistent with the intended functionality, as the owner should receive the password whenever sending to the recipient fails, regardless of whether password enforcement is enabled.

This change ensures that the owner is notified of the password whenever sending it to the recipient fails, improving consistency and user experience.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the fix/50512/send-password-2-owner branch from beacb35 to 362ba1a Compare January 29, 2025 11:45
@provokateurin
Copy link
Member

Needs a rebase (not sure why the other commit still shows up here) and tests need to be adjusted.

@nfebe
Copy link
Contributor Author

nfebe commented Jan 29, 2025

Needs a rebase (not sure why the other commit still shows up here) and tests need to be adjusted.

This was branched of the ticket mentioned in the description as "uses".

  • Since "uses" is now merged a rebase against master would remove the commit.
  • I have taken note of the test failures and would adjust.

…disabled

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@susnux susnux added this to the Nextcloud 32 milestone Mar 2, 2025
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv removed this from the Nextcloud 32 milestone Sep 28, 2025
@skjnldsv skjnldsv added this to the Nextcloud 33 milestone Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

[BUG] : sendPasswordToOwner should trigger as long as password is set on share and "send pass by mail" is disabled

4 participants