Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(caldav): Do not overwrite shared calendar owner #45054

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SebastianKrupinski
Copy link
Contributor

Summary

Sabre invitation plugin skip invites if the organizer of the event is not the owner of the calendar. That happens for shared calendars because \OCA\DAV\CalDAV\Calendar::getOwner overwrites \Sabre\CalDAV\Calendar::getOwner. Upstream returns the principaluri of the owner, we return the principaluri of the sharee.
Want to test if this revives the invites in shared calendars. Adjustments for other places that use the getOwner method might be required.

@ChristophWurst
Copy link
Member

Setting to draft because we have to test this locally before it's integrated. We do not want to experiment with this on production instances

@ChristophWurst ChristophWurst added the 2. developing Work in progress label Apr 26, 2024
@ChristophWurst ChristophWurst changed the title fix: remove getowner override issue #26668 fix(caldav): Do not overwrite shared calendar owner Apr 26, 2024
@SebastianKrupinski
Copy link
Contributor Author

Setting to draft because we have to test this locally before it's integrated. We do not want to experiment with this on production instances

Agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send invitations for shared calendars
2 participants