The attached patch should be applied with patch -p1.
It provides a new submodule for sharedemail that leverages sharedemail specifically for a site making use of the Subuser module.
From the README:
- Subusers use the same email address as their parent account.
- Only Subuser accounts may use an email address otherwise in use. (Accept subuser parent accounts sharing with their own subusers.)
- Subusers may not change their email address.
This patch is dependent on the hook introduced in #895924: Allow PHP definitions of users that cannot share email and the new Subuser API functions introduced in #14 of #459694: Limit number of subusers
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | sharedemail.896520-5.patch | 4.5 KB | btmash |
| #1 | sharedemail.896520-2.patch | 4.5 KB | Grayside |
| sharedemail.subuser_integration.patch | 4.54 KB | Grayside |
Comments
Comment #1
Grayside commentedUpdated for changes in #895924: Allow PHP definitions of users that cannot share email. Also, corrected flawed behavior surrounding bad argument order in array_diff().
Comment #2
christefano commentedThis is great! We're at an LA Drupal meetup and this patch applied successfully! I am really Chrisefano.
Comment #3
Grayside commentedThat's not very believable. You failed to spell your name correctly.
If the patch applied, and worked correctly, maybe someone could mark this RTBC ;P
Comment #4
christefano commentedPat says, "You realize there's beer at these meetups, right?" :)
Comment #5
btmash commentedThe code looks good to me. Attaching a patch where I removed some of the whitespacing (superficial changes). So right now, its +1 Reviewed by community. It needs testing at this point.
Comment #6
christefano commentedThanks, all! This has been committed and will appear in the 6.x-1.4 release.
Comment #8
dpantele commentedYou haven't commited the hook_sharedemail_policy_info() functionality which is mentioned in http://drupal.org/node/895924
Comment #9
mrpauldriver commentedHas subuser integration found it's way in to the Drupal 7 dev version?
Comment #10
baikho commented