Problem/Motivation
Currently we only check if user can access the node.
This means anonymous users could sometimes access the MJML template. It is not a security problem (we do check they can see the node content) but it could be confusing.
Steps to reproduce
Proposed resolution
Add a new permission that restricts access to the routes of this module.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork mjml_preview-3566175
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
Comment #3
prudloff commented