Skip to content
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

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

mikadamczyk
Copy link
Contributor

@mikadamczyk mikadamczyk commented Oct 18, 2018

Question Answer
Tickets https://jira.ez.no/browse/EZP-29223
Bug fix? no
New feature? yes
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

depends on ezsystems/ezpublish-kernel#2465

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

*
* @return string[]
*/
private function getLanguagesLimitations($limitations): array
Copy link
Contributor

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
Copy link
Contributor

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?

Copy link
Contributor

@andrerom andrerom Oct 21, 2018

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 ?

@mikadamczyk mikadamczyk force-pushed the EZP-29223 branch 2 times, most recently from f7a6a48 to 689c6ae Compare October 19, 2018 13:41
@ezsystems ezsystems deleted a comment from ezrobot Oct 19, 2018
@mikadamczyk mikadamczyk force-pushed the EZP-29223 branch 2 times, most recently from 7ec746f to 0170f8b Compare October 19, 2018 13:57
@ezsystems ezsystems deleted a comment from ezrobot Oct 19, 2018
@mikadamczyk mikadamczyk force-pushed the EZP-29223 branch 2 times, most recently from d7627b0 to a6693e4 Compare October 22, 2018 12:17
@mikadamczyk
Copy link
Contributor Author

@ViniTou @andrerom can you take a look at it?

@barbaragr barbaragr self-assigned this Oct 30, 2018
@lserwatka lserwatka merged commit 8417bce into ezsystems:master Oct 30, 2018
@lserwatka
Copy link
Member

@barbaragr my bad, I merged it too early be accident. If you find something please still report it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

6 participants