Skip to content

[stable35] fix(dav): align principal search and not-found responses with server settings - #67173

Open
backportbot[bot] wants to merge 1 commit into
stable35from
backport/66805/stable35
Open

backportbot[bot] wants to merge 1 commit into
stable35from
backport/66805/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 30, 2026

Copy link
Copy Markdown

Backport of PR #66805

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>
@nextcloud-bot nextcloud-bot mentioned this pull request Nov 30, 2026

This branch has not been deployed

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

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants