-
Notifications
You must be signed in to change notification settings - Fork 204
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
IBX-1310: Created slots for assigning/unassigning user to groups #3125
Conversation
eZ/Publish/Core/SignalSlot/Signal/UserService/UnAssignUserFromUserGroupSignal.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/SignalSlot/Signal/UserService/AssignUserToUserGroupSignal.php
Outdated
Show resolved
Hide resolved
eZ/Publish/Core/Search/Common/Slot/UnAssignUserFromUserGroup.php
Outdated
Show resolved
Hide resolved
@barw4 Could you please provide PRs for ezplatform-kernel and ezplatform-elastic-search-engine? |
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.
As stated in #3125 (comment) and by the other Reviewers.
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.
It looks ok now. What I'm missing is test coverage, for the use case the integration one.
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.
Looks complete now, CS remark (more refactoring needed to align with it):
Solr test (https://app.travis-ci.com/github/ezsystems/ezpublish-kernel/jobs/550349178) most likely failing from lack of ezsystems/ezplatform-solr-search-engine#223 |
@adamwojs @alongosz PR for |
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.
Noticed that the comments requesting to add final
to introduced classes were discarded without explanation. Why is that? final
protects our interests first & foremost, because we can safely change the classes in question without fear of breaking.
I know that this is 7.5
version and those classes will be dropped - or rather, they will be discarded when performing merge up - but still, it's a 20 second effort at most.
Unless, of course, there was a reason that was not posted here?
…ons' into ibx-1310-index-user-service-actions
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Merged into: |
For more details see: https://issues.ibexa.co/browse/IBX-1310 Merged: * da90d00 IBX-1310: Created slots for assigning/unassigning user to groups (ezsystems/ezpublish-kernel#3125) * 5615ef7 IBX-1310: Created subscriber methods for assigning/unassigning user to groups (ezsystems/ezplatform-kernel#269)
v2.5
The related Slots were missing for
assignUserToUserGroup
andunAssignUserToUserGroup
UserService
's methods which resulted in not indexing the related subtrees.Required PR: ezsystems/ezplatform-solr-search-engine#223
3.3.
PR: ezsystems/ezplatform-kernel#269Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).