Repository navigation
fix(dav): align principal search and not-found responses with server settings - #66805
Merged
Merged
Conversation
GVodyanov
requested review from
a team,
ChristophWurst,
SebastianKrupinski and
tcitworld
as code owners
November 19, 2026 11:12
GVodyanov
requested review from
Altahrim and
CarlSchwan
and removed request for
a team
November 19, 2026 11:12
GVodyanov
force-pushed
the
fix/dav/principal-search-settings
branch
from
November 19, 2026 11:14
f732065 to
f3a61d9
Compare
ChristophWurst
approved these changes
Nov 19, 2026
kesselb
approved these changes
Nov 19, 2026
Group principal search returned every group matching the term, and searchUserPrincipals() kept its own copy of the enumeration rules, which had drifted from the share dialog: the phone book restriction had no effect unless the group restriction was also enabled, and the group-members-only exclude list was not applied. Both searches now use the same rules as GroupPlugin and Share20\Manager. Default settings are unaffected. DavAclPlugin answered inaccessible calendar and address book paths with its own message, which differed from the collection's regular not-found response, and multiget hrefs, If: header URIs and expand-property paths could get different status codes for the same case. These paths now resolve the same way and return one consistent "Node with name … could not be found". Full-match principal search and the remote-calendars/ and system-calendars/ roots are left as is. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
GVodyanov
force-pushed
the
fix/dav/principal-search-settings
branch
from
November 19, 2026 17:40
f3a61d9 to
6fe5e29
Compare
GVodyanov
enabled auto-merge
November 19, 2026 17:43
GVodyanov
disabled auto-merge
November 19, 2026 18:19
Contributor
Author
|
/backport to stable35 |
Contributor
Author
|
/backport to stable34 |
Contributor
Author
|
/backport to stable33 |
Contributor
Author
|
/backport to stable32 |
Contributor
Author
|
/backport to stable31 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DAV principal search and DAV error responses had drifted from the rest of the server.
shareapi_allow_share_dialog_user_enumeration,shareapi_restrict_user_enumeration_to_group), using the same rules asGroupPlugin::search().Share20\Manager. The phone book restriction now works on its own, and the group-members-only exclude list is applied.If:URIs and expand-property.Instances with default sharing settings see no change in search results.
Behaviour changes
Calendar with name …/Card not foundtoNode with name … could not be found. The integration test expectations are updated.TODO
Checklist
3. to review, feature component)stable32)AI (if applicable)
Assisted by ClaudeCode:claude-opus-5-5