'TYPO3 - user tries to delete a record in his limited language, can't do it because of the references
I only found old entries to the topic, so I try to explain it:
We have a TYPO3 11.5.x with 8 languages, which 7 get translated via DeepL every night and only german is the main language. That's why we limit the language for our backend users to german. It is easier to grasp and maintain for them.
But now there is a huge problem. They can't delete, copy & paste or cut & paste the german record because of "1: Attempt to delete record without delete-permissions". I understand the reason for that but on the other hand, the have the right to delete the main language. The translated records are only references, the should be able to delete that. Is there a patch, a trick or a hack to it? Would gladly appreciate any idea.
Solution 1:[1]
The references between the main language by its translations are the core concept of translation in TYPO3. So editors may never ever be able to delete the main language if they are not allowed to edit/delete the other languages because that way a restricted editor would be able to delete content he/she has no access to.
If you want to handle the main language and the translations separately you must create the translated content elements as copies using a different language each. But you won't be able to identify the parent element any longer. You'd have to implement your own logic to know which CE is the parent of which translations.
It's also possible, but not recommend, to have a branch in the page tree for each language. That way you can update each branches translation independently from the others. That too would require you to implement a custom logic.
Maybe you could also do it with workspaces. One for editing the content one for publishing the content including the generated translations. I cannot tell if that idea actually works because I've never really set up a workspace environment with TYPO3 yet.
Solution 2:[2]
Are you maybe able to do it as system administrator?
In typo3conf/LocalConfiguration.php you add user id's 1 and 2 for example:
'SYS' => [
'systemMaintainers' => [
1,
2,
],
],
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jan Loderhose |
| Solution 2 | Rustyjim |
