This is a re-roll of for 8.2.x (and without the tests) which goes with the patch on https://www.drupal.org/project/drupal/issues/3056020 📌 Content translation access control Needs work .
Four years on, this issue seems the most promising for permissions to translate content, but the patch is for 1.x and the core patch hasn't landed yet.
Is there another way to add permissions for translation, or is this approach still the recommended way to go? If so, I can re-roll both this patch and the core one.
Ran into this issue too - the patch fixes it. Thanks!
lazysoundsystem → created an issue.
lazysoundsystem → created an issue.
Thanks, this is an improvement!
Thanks for checking and sorry for the coding standards, I was trying through github's web ide for the first time, but got confused.
Still to come is a way to filter out fields with this label - and to see if the label can be worded better.
lazysoundsystem → created an issue.
The last patch is now a few lines off
Checking patch core/lib/Drupal/Component/Utility/Xss.php...
Checking patch core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php...
Hunk #1 succeeded at 403 (offset 8 lines).
Checking patch core/tests/Drupal/Tests/Component/Utility/XssTest.php...
Hunk #3 succeeded at 538 (offset 10 lines).
Applied patch core/lib/Drupal/Component/Utility/Xss.php cleanly.
Applied patch core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php cleanly.
Applied patch core/tests/Drupal/Tests/Component/Utility/XssTest.php cleanly.
Updated patch changes the line numbers and nothing else.
Updating patch so it applies cleanly for 6.x.