-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Properly search for users when limittogroups is enabled #20772
Conversation
To test
Now as TestUser search the sharee endpoint for 'test' Before:
After:
|
550657d
to
c9e4e27
Compare
I can not reproduce the failure before the patch so unwilling to approve the fix, but at least it is not breaking something. |
Ok let me try to explain. Basically it does boom because of: server/lib/private/Group/Group.php Line 310 in 5bf3d1b
Which goes to: server/lib/private/Group/Database.php Line 333 in 5bf3d1b
Now there are 2 issues here
The new way will actually search displaynames as well. Which is what you want. |
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.
Smarter!
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.
Tested and works 👍
This comment has been minimized.
This comment has been minimized.
Ok it seems I just don't get the tests... |
/backport to stable19 |
Underlying code was changed with #21452 |
c9e4e27
to
4054c47
Compare
I merged the changes from this PR with the enhancements from #21452 to also filter out disabled users properly. Ready for review. |
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.
Tested and works 👍
What?
|
Seems that this came in via another PR. |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 32117: failuresqliteShow full log
mysql8.0-php7.2
acceptance-app-files
Show full log
|
It isn't on master :/ |
@kesselb Any idea? |
@MorrisJobke similar to #22257. But warning is unrelated to this pr. |
Unfortunately this doesn't show up locally :/ |
Searching just for the uid is not enough. This makes sure this done properly again now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
…ed to contain more results Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4c9e8d5
to
a0cbf16
Compare
Actually it was fixed in master -> merging then. |
The backport to test failed. Please do this backport manually. |
Searching just for the uid is not enough.
This makes sure this done properly again now.
Actually fixes a valid failure in the integrationtests...