Properly search for users when limittogroups is enabled#20772
Properly search for users when limittogroups is enabled#20772MorrisJobke merged 2 commits intomasterfrom
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. |
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. |
|
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 logmysql8.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 <[email protected]>
…ed to contain more results Signed-off-by: Morris Jobke <[email protected]>
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...