Problem / Background

The mailchimp_transactional_template entity currently defines an incorrect admin_permission in its entity annotation.

In the file:
TemplateMap.php

the annotation currently says:

admin_permission = "administer mailchimp_transactional"
However, the module actually defines the permission as:
administer mailchimp transactional templates

As a result, even users with the intended permission cannot access the admin route /admin/config/services/mailchimp_transactional/templates, leading to 403 Access denied errors.

Proposed fix:
admin_permission = "administer mailchimp transactional templates"

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dimon4ikzp created an issue. See original summary.

dimon4ikzp’s picture

Title: Wrong admin_permission in Mailchimp Transactional template entity annotation » Wrong admin_permission in TemplateMap entity annotation

dieterholvoet’s picture

Assigned: dimon4ikzp » Unassigned
Status: Active » Fixed

Thanks for your contribution!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.