Skip to content

Conversation

@st3iny
Copy link
Member

@st3iny st3iny commented Aug 20, 2025

  • Resolves: none

Summary

The value of oc_dav_shares.access is always 4 (ACCESS_PUBLIC) 1 and can never be 3 (ACCESS_READ) 2 causing read-only to always be set to false.

However, we don't support editing public calendars so we should reflect that in the read-only property accordingly.

Checklist

Footnotes

  1. \OCA\DAV\CalDAV\CalDavBackend::ACCESS_PUBLIC

  2. \OCA\DAV\DAV\Sharing\Backend::ACCESS_READ

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@st3iny st3iny added 3. to review Waiting for reviews feature: caldav Related to CalDAV internals labels Aug 20, 2025
@st3iny st3iny enabled auto-merge August 20, 2025 21:21
@st3iny st3iny merged commit ac0abb3 into master Aug 20, 2025
215 of 222 checks passed
@st3iny st3iny deleted the fix/caldav/public-calendar-read-only branch August 20, 2025 21:30
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 22, 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.

4 participants