Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently in the D8 version of the module, SMTP defines it's permission using hook_permission()
.
function smtp_permission() {
return array(
'administer smtp module' => array(
'title' => t('Administer SMTP Authentication Support module'),
'description' => t('Perform administration tasks for SMTP Authentication Support module.')
),
);
}
However, permissions should be defined in the smtp.permissions.yml
file.
More information about this change can be found here.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2792495-Permission_administer_smtp_module.patch | 939 bytes | jorgik |
Comments
Comment #2
donutdan4114 CreditAttribution: donutdan4114 at Bonify commentedExample yml file:
Comment #3
jorgik CreditAttribution: jorgik at AnyforSoft, Drupal Ukraine Community commentedHi, I added patch with permissions.yml file and removed smtp_permission() function. Needs review
http://joxi.net/823kV8KC6RvOz2.png
Comment #4
naveenvalechaThanks!
This will be taken care at the time of commit.
Comment #5
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedComment #6
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commented