Allow access to shared caldav trash bin items #27372
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
feature: caldav
Related to CalDAV internals
Is your feature request related to a problem? Please describe.
With #26083 Nextcloud received a trash bin for caldav calendars and its objects (events). For the first iteration we didn't fully go into all possible scenarios and so shared calendars and shared events that are in the trash bin won't show up for the sharee. We can possibly say that a deleted calendar should be invisible for the sharee, but for deleted events it's very useful for a sharee to be able to restore, especially if they deleted a event themselves.
Describe the solution you'd like
The REPORT logic
\OCA\DAV\CalDAV\Trashbin\DeletedCalendarObjectsCollection::calendarQuery
should extend the scope of what a user can see by factoring in sharing information.Describe alternatives you've considered
N/a
Additional context
The original feature request #1662
The text was updated successfully, but these errors were encountered: