Bug 30646 - Add option to send WELCOME notice for new patrons added at first login via LDAP/SAML
Summary: Add option to send WELCOME notice for new patrons added at first login via LD...
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on: 30237
Blocks:
  Show dependency treegraph
 
Reported: 2022-04-28 14:19 UTC by Martin Renvoize
Modified: 2022-08-07 14:01 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 30646: Add welcome email support to LDAP (4.22 KB, patch)
2022-04-28 15:02 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30646: Add welcome email support to SAML2 (3.01 KB, patch)
2022-04-28 15:14 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30646: Add welcome email support to LDAP (4.22 KB, patch)
2022-06-16 14:24 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30646: Add welcome email support to SAML2 (3.01 KB, patch)
2022-06-16 14:24 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30646: (follow-up) Set to send immediately (3.20 KB, patch)
2022-06-16 14:24 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 30646: Add welcome email support to LDAP (4.27 KB, patch)
2022-08-05 14:49 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 30646: Add welcome email support to SAML2 (3.06 KB, patch)
2022-08-05 14:50 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 30646: (follow-up) Set to send immediately (3.25 KB, patch)
2022-08-05 14:50 UTC, Kyle M Hall
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2022-04-28 14:19:46 UTC
It would be helpful to add automatic email to users on patron creation when that creation has been triggered by LDAP or Shibboleth creations.
Comment 1 Martin Renvoize 2022-04-28 15:02:28 UTC
Created attachment 134272 [details] [review]
Bug 30646: Add welcome email support to LDAP

This patch adds the ability to enable the welcome email notice for new
users added via the LDAP replicate option.

Test plan
1) Configure LDAP for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   ldap config block
3) Confirm you have replicate enabled for your LDAP config
4) Attempt to login with an entirely new user to Koha using the LDAP
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.
Comment 2 Martin Renvoize 2022-04-28 15:14:50 UTC
Created attachment 134279 [details] [review]
Bug 30646: Add welcome email support to SAML2

This patch adds the ability to enable the welcome email notice for new
users added via the Shibboleth autocreate option.

Test plan
1) Configure Shibboleth for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   shibboleth config block
3) Confirm you have autocreate enabled for your Shibboleth config
4) Attempt to login with an entirely new user to Koha using the shibboleth
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.
Comment 3 Martin Renvoize 2022-06-16 14:24:26 UTC
Created attachment 136171 [details] [review]
Bug 30646: Add welcome email support to LDAP

This patch adds the ability to enable the welcome email notice for new
users added via the LDAP replicate option.

Test plan
1) Configure LDAP for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   ldap config block
3) Confirm you have replicate enabled for your LDAP config
4) Attempt to login with an entirely new user to Koha using the LDAP
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.
Comment 4 Martin Renvoize 2022-06-16 14:24:30 UTC
Created attachment 136172 [details] [review]
Bug 30646: Add welcome email support to SAML2

This patch adds the ability to enable the welcome email notice for new
users added via the Shibboleth autocreate option.

Test plan
1) Configure Shibboleth for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   shibboleth config block
3) Confirm you have autocreate enabled for your Shibboleth config
4) Attempt to login with an entirely new user to Koha using the shibboleth
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.
Comment 5 Martin Renvoize 2022-06-16 14:24:34 UTC
Created attachment 136173 [details] [review]
Bug 30646: (follow-up) Set to send immediately

Other welcome notices send immediately rather than waiting on the queue
to be processed.. these one's should too.
Comment 6 Kyle M Hall 2022-08-05 14:49:40 UTC
Created attachment 138708 [details] [review]
Bug 30646: Add welcome email support to LDAP

This patch adds the ability to enable the welcome email notice for new
users added via the LDAP replicate option.

Test plan
1) Configure LDAP for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   ldap config block
3) Confirm you have replicate enabled for your LDAP config
4) Attempt to login with an entirely new user to Koha using the LDAP
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 7 Kyle M Hall 2022-08-05 14:50:17 UTC
Created attachment 138709 [details] [review]
Bug 30646: Add welcome email support to SAML2

This patch adds the ability to enable the welcome email notice for new
users added via the Shibboleth autocreate option.

Test plan
1) Configure Shibboleth for authentication
2) Enable the welcome email by adding '<welcome>1</welcome>' to your
   shibboleth config block
3) Confirm you have autocreate enabled for your Shibboleth config
4) Attempt to login with an entirely new user to Koha using the shibboleth
   connection (with a user who has a valid email address mapped to Koha
   borrower fields)
5) Confirm the email is sent by looking at the notices for the new user.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Kyle M Hall 2022-08-05 14:50:21 UTC
Created attachment 138710 [details] [review]
Bug 30646: (follow-up) Set to send immediately

Other welcome notices send immediately rather than waiting on the queue
to be processed.. these one's should too.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>