Needs review
Project:
Auto Node Translate
Version:
3.0.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
25 Feb 2026 at 13:15 UTC
Updated:
28 Apr 2026 at 11:52 UTC
Jump to comment: Most recent
I used the module to automatically translate my content, but I have a role that doesn't have this permission, yet the translation button still appears.
There seems to be a permissions conflict between manual translation and automatic translation via the module.
Currently, the manual translation permission overrides any other permissions granted by the module.
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 #5
jérôme dehorterHi,
I've created the patch.
Please review and approve it.
Comment #6
kallado commentedThnks I'm kind of busy right now but i'll review it as soon as I can
Comment #9
kallado commentedI think theres still an issue beacause in node/[id]/translations the button still shows on the operation links even without permission. I think adding an auto_node_translate_translate_access($entity)->isAllowed() before changing the links in auto_node_translate_preprocess_links hook should do the trick
Comment #10
kallado commented@jérôme dehorter Fixed the issue int the node translations tab can you review?
Comment #11
kallado commentedComment #12
jérôme dehorterHi @kallado,
I try to review but I got this error on composer install command :
I think you're having the same problem I did with the patch on MR 9. After fixing the PHPCS issues, I couldn't install the MR 9 patch. That's why I reverted to a version without PHPCS fix in MR 10.
Comment #14
kallado commentedOk i've tested it locally and had no issues I'm movin forward with this.