Skip to content

feat(dav): add custom classification levels for events in public calendars #53073

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

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

Conversation

tcitworld
Copy link
Member

@tcitworld tcitworld commented May 23, 2025

Summary

The CLASS:PRIVATE and CLASS:CONFIDENTIAL apply to events shared (with other people or groups, internally) as well as published ones (which are public for everyone with the link). This can be troublesome, as some events shouldn't be publicly visible in the published calendar, either not at all or just handled as confidential (only timeranges shown)¹.

This adds two new custom CLASS values: X-NEXTCLOUD-CLASS-PUBLISHED-PRIVATE and X-NEXTCLOUD-CLASS-PUBLISHED-CONFIDENTIAL, which work the same as the standard values, but only when they are published into a public calendar.

Therefore, you can set an event to be public (fully visible) for people who you shared internally the event's calendar, but private when the calendar is published.

This is the part on the server, part in the calendar front-end and libraries is yet to be written and designed.

¹ I also plan to work on a "confidential calendar publish mode", where only timeranges of events are shown.

Checklist

…ndars

The CLASS:PRIVATE and CLASS:CONFIDENTIAL apply to events shared as well as published ones. This adds
two new custom CLASS values: X-NEXTCLOUD-CLASS-PUBLISHED-PRIVATE and
X-NEXTCLOUD-CLASS-PUBLISHED-CONFIDENTIAL, which work the same as the standard values, but only when
they are published into a public calendar. Therefore, you can set an event to be public (fully
visible) for people who you shared internally the event's calendar, but private when the calendar
is published.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@tcitworld tcitworld added this to the Nextcloud 32 milestone May 23, 2025
@tcitworld tcitworld requested a review from ChristophWurst May 23, 2025 09:37
@tcitworld tcitworld added 3. to review Waiting for reviews feature: caldav Related to CalDAV internals labels May 23, 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 feature: caldav Related to CalDAV internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant