Skip to content

Conversation

@Arusekk
Copy link
Contributor

@Arusekk Arusekk commented Jul 17, 2025

Summary

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.

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

Checklist

@Arusekk Arusekk force-pushed the cal-edit-private-event branch from d33cccc to 583dfe1 Compare July 25, 2025 11:38
@Arusekk Arusekk changed the title caldav: show private event if writable caldav: show confidential event if writable Jul 25, 2025
@Arusekk Arusekk marked this pull request as ready for review July 28, 2025 01:52
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2025

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@skjnldsv skjnldsv added 3. to review Waiting for reviews feature: caldav Related to CalDAV internals labels Aug 19, 2025
@ChristophWurst
Copy link
Member

Thank you for submitting this @Arusekk 👏

@SebastianKrupinski @st3iny could you please review and check if the approach makes sense?

@st3iny
Copy link
Member

st3iny commented Aug 20, 2025

On it

@st3iny st3iny force-pushed the cal-edit-private-event branch from 583dfe1 to e2d5a06 Compare August 20, 2025 10:32
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 nextcloud#5551
Closes nextcloud/calendar#4044
Closes nextcloud#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 e2d5a06 to f9b96ca Compare August 20, 2025 11:23
Copy link
Member

@st3iny st3iny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much! Tested and works.

I fixed tests, added some new ones and simplified the isPublic() method a bit.

@st3iny
Copy link
Member

st3iny commented Aug 20, 2025

Unfortunately, we need to import the PR as some CI actions won't run otherwise.

Continued here: #54533

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 feature: caldav Related to CalDAV internals feedback-requested

Projects

None yet

4 participants