Skip to content

Conversation

@st3iny
Copy link
Member

@st3iny st3iny commented Aug 20, 2025

Summary

Imported from #53988

If a party can edit the calendar/event, just display it instead of hiding the details and risking overwrites. This is the simplest solution that addresses all related issues to some degree.

How to test?

  1. Create a new calendar.
  2. Share it with a group (or user) and check can edit.
  3. Share it publicly via a link.
  4. Create a confidential event in that calendar (When shared show busy) and add a location and description.
  5. Open the shared calendar as the second user (sharee) -> Event should be editable and show all details.
  6. Open the public calendar link -> Event should have the title Busy and should not show a location and/or description.

Checklist

@st3iny st3iny requested a review from ChristophWurst August 20, 2025 11:27
@st3iny st3iny self-assigned this Aug 20, 2025
@st3iny st3iny added bug 3. to review Waiting for reviews feature: caldav Related to CalDAV internals labels Aug 20, 2025
If a party can edit the calendar/event, just display it instead of
hiding the details and risking overwrites.
This might be considered a change impacting privacy,
but it actually improves semantics.

Relevant test updates included, improving assertion correctness.

I think all the relevant use cases are solved by this.

Closes #5551
Closes nextcloud/calendar#4044
Closes #11214

Signed-off-by: Arusekk <floss@arusekk.pl>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@st3iny st3iny force-pushed the cal-edit-private-event branch from 78a980b to b3c5707 Compare August 20, 2025 11:35
@st3iny
Copy link
Member Author

st3iny commented Aug 22, 2025

/backport to stable31

@st3iny
Copy link
Member Author

st3iny commented Aug 22, 2025

/backport to stable30

@AndyScherzinger AndyScherzinger added this to the Nextcloud 32 milestone Aug 27, 2025
@AndyScherzinger AndyScherzinger merged commit a963504 into master Aug 27, 2025
217 of 223 checks passed
@AndyScherzinger AndyScherzinger deleted the cal-edit-private-event branch August 27, 2025 07:41
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 28, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
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 bug feature: caldav Related to CalDAV internals

Projects

None yet

6 participants