Skip to content

[stable30] fix(dav): restrict calendar and address book sharing to the owner - #65339

Open
backportbot[bot] wants to merge 1 commit into
stable30from
backport/65338/stable30
Open

backportbot[bot] wants to merge 1 commit into
stable30from
backport/65338/stable30

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Backport of #65299

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot
backportbot Bot requested a review from kesselb October 9, 2026 10:37
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Oct 9, 2026
@kesselb
kesselb force-pushed the backport/65338/stable30 branch from 4bb070a to d8ef362 Compare October 9, 2026 10:55
Comment thread apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php Fixed
Comment thread apps/dav/lib/DAV/Sharing/Plugin.php Fixed
Comment thread apps/dav/lib/DAV/Sharing/Plugin.php Fixed
Comment thread apps/dav/lib/Server.php Fixed
Comment thread apps/dav/lib/Server.php
// calendar plugins
if ($this->requestIsForSubtree(['calendars', 'public-calendars', 'system-calendars', 'principals'])) {
$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest(), \OC::$server->getConfig()));
$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
Comment thread apps/dav/lib/Server.php
// addressbook plugins
if ($this->requestIsForSubtree(['addressbooks', 'principals'])) {
$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest(), \OC::$server->getConfig()));
$this->server->addPlugin(new DAV\Sharing\Plugin($authBackend, \OC::$server->getRequest()));
@kesselb
kesselb force-pushed the backport/65338/stable30 branch from d8ef362 to fdf5f31 Compare October 9, 2026 13:55
@kesselb
kesselb marked this pull request as ready for review October 9, 2026 13:57
@kesselb
kesselb force-pushed the backport/65338/stable30 branch from fdf5f31 to 575c29f Compare October 9, 2026 14:04
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselb force-pushed the backport/65338/stable30 branch from 575c29f to ea73087 Compare October 9, 2026 14:46

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants