nextcloud / nextcloud/calendar
Add possibility to restore unshared team calendars
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Is your feature request related to a problem? Please describe.
If someone deletes a team calendar, there is no easy way to restore access.
Describe the solution you'd like
Show "UNSHARED" team calenders in the trashbin of the calender with a restore button to delete the "UNSHARED" entry.
Describe alternatives you've considered
Leaving and re-joining the team will not work. Only solution is creating a personal share as calendar owner for the same calendar/person, which overwrites the "unshared" entry, deleting it will restore the team calendar.
Additional context
Unsharing creates a line in dav_shares table with access=UNSHARED (5) and the personal principaluri in addition to the line of the principaluri of the circle. Listing these entries in the trashbin with a button to delete it is maybe a good idea.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the calendar trashbin lists entries and how the dav_shares table represents access=UNSHARED (5) for personal and circle principals. Check how the restore button should remove the UNSHARED entry, then verify that access to the team calendar returns without requiring a personal share.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, database, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100