-
Notifications
You must be signed in to change notification settings - Fork 56
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-29223: Implement permissions for "Content/Translate" #695
Conversation
e85bf38
to
93d6928
Compare
* | ||
* @return string[] | ||
*/ | ||
private function getLanguagesLimitations($limitations): array |
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.
nitpick $limiations could be also typehinted
* | ||
* @return string[] | ||
*/ | ||
private function getLimitationLanguageCodes($limitations): array |
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.
Does anyone have a nice idea where we could extract both this method?
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.
PermissionUtil class that @mikadamczyk is adding in #696 ?
f7a6a48
to
689c6ae
Compare
7ec746f
to
0170f8b
Compare
d7627b0
to
a6693e4
Compare
a6693e4
to
76c2665
Compare
@barbaragr my bad, I merged it too early be accident. If you find something please still report it here. |
depends on ezsystems/ezpublish-kernel#2465
Checklist:
$ composer fix-cs
)