Problem/Motivation
The [webform_access:type:TYPE] tokens only include user email assigned to an access group which requires an account to be created for any email address that needs to be associated with an access group. There should be an easier way to add email accounts which are not associated with any user accounts to an access group
Proposed resolution
Allow access groups to have custom email addresses.
[webform_access:type:users] - Assigned user emails
[webform_access:type:admins] - Custom emails
[webform_access:type:all] - Assigned user emails and Custom emails
Remaining tasks
Add Emails to access groupAdd update hook to update existing entitiesUpdate APIs to support ::getEmails and ::setEmails()Update webform_access.schema.ymlAdd Emails to group listingWrite testsCreate a change record- Tag new beta release
User interface changes
Access group email addresses will be displayed on the group list and editable in the group edit form.
API changes
TBD
Data model changes
TBD
Release notes snippet
TBD
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 3043755-15.patch | 63.8 KB | jrockowitz |
| #12 | 3043755-12.patch | 61.81 KB | jrockowitz |
| #7 | 3043755-7.patch | 62.16 KB | jrockowitz |
| #5 | 3043755-5.patch | 61.72 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedComment #3
jrockowitz commentedComment #5
jrockowitz commentedThe attached patch includes the patch from #3043276: Allow selected users to administer webform access groups. Both these feature requests are tightly coupled and might require a single patch.
Comment #7
jrockowitz commentedComment #9
jrockowitz commentedComment #12
jrockowitz commentedComment #13
jrockowitz commentedComment #15
jrockowitz commentedComment #16
brt commentedI've tested #15 and it seems to be working as expected.
Thank you very much.
Comment #17
jrockowitz commentedComment #19
jrockowitz commented