Skip to content

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

Merged
1 commit merged into
stable33from
backport/66805/stable33
Nov 30, 2026
Merged

1 commit merged into
stable33from
backport/66805/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Backport of #66805

DavAclPlugin::checkPrivileges() has no #[\Override] attribute on this branch, so only the new initialize() method gets one.

Assisted by ClaudeCode:claude-opus-5-5

@backportbot backportbot Bot added 3. to review Waiting for reviews AI assisted labels Nov 30, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.12 milestone Nov 30, 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>
@susnux susnux closed this pull request by merging all changes into stable33 in 2c15705 Nov 30, 2026
@susnux
susnux deleted the backport/66805/stable33 branch November 30, 2026 14:23
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.

4 participants