Details
-
Bug
-
Resolution: Fixed
-
High
-
2.4.0
Description
Assume we have a user who is able to translate content and edit only translation. This is possible from the policies settings:
content/translate: (Language:german) content/edit: (Language:german) content/publish: (Language:german)
But the API doesn't allow him to publish the translation or edit it later without adding the main(initial) language of the content(e.g english) to the content/edit and content/publish policy list.
Step to reproduce:
- create a content in english
- create a user and assign him above policies
- try to publish the translated content
Expected:
- The user can translate, edit or publish only the content language previously assigned to him.
Acutal Result:
- User can't publish translation
- User get a list of all languages in the system when he clicks the + button in the translation tab.
- Content already available in german is not possible to be edited , due to :https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/Limitation/LanguageLimitationType.php#L132