Would it be possible to add a permission to allow a user to administer the list of pre-approved e-mails /domains?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | admin-permissions-1243194-04.patch | 2.57 KB | benshell |
| #1 | register_preapproved.module.patch | 1.97 KB | Mac Clemmens |
Comments
Comment #1
Mac Clemmens commentedHere's a quick patch to try.
Comment #2
johnhanley commentedIt's a reasonable suggestion, but your patch won't work because you didn't correctly prefix hook_perm.
I also prefer the perm name "administer pre-approved patterns", which applies to both email addresses and domain names.
Comment #3
Mac Clemmens commentedOK -- I definitely created a patch too quickly! :) I completely agree with your suggestion. @benshell will create a git-friendly patch and post it here.
Comment #4
benshell commentedHere is an updated patch.
Comment #5
johnhanley commentedAdded to release 6.x-1.2. Thanks!