-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-30925: Added Language limitation to 'content remove' policy #3036
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @alongosz . What about versionremove
? Isn't it something that should benefit from language limitation as well?
eZ/Publish/API/Repository/Tests/SearchService/DeleteTranslationTest.php
Outdated
Show resolved
Hide resolved
eZ/Publish/API/Repository/Tests/SearchService/DeleteTranslationTest.php
Outdated
Show resolved
Hide resolved
@Nattfarinn probably yes, but out of scope here (delete translation feature does not check that). Something @barw4 can consider if he's gonna have time :) |
@alongosz sure, I could do that. So the only use case with "versionremove" policy would be an option to delete version within the allowed languages from "Archived versions", right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on eZPlatform 2.5 with diff & eZPlatform 2.5 with patch.
You can merge it up |
content remove
policy will now acceptLanguageLimitation
in order to prevent removingContent
translation which the user doesn't have access to.Related PR: ezsystems/ezplatform-admin-ui#1383
TODO:
$ composer fix-cs
).