nextcloud / nextcloud/server

[Bug]: Cannot reshare calendar to group to user after user has unshared

Open
#51,778 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 29-feedback bug feature: caldav feature: dav
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Cannot reshare calendar to group to user after user has unshared

Steps to reproduce
  1. Add a user to a group
  2. Share calendar to the group
  3. For user in group select unshare calendar
  4. Remove group from share
  5. Add group back to sharing for the calendar
Expected behavior

After the calendar is reshared to the group it still does not appear to the user that originally unshared the calendar.

The use case here is that a user either inadvertently unshares themself from the shared calendar or unshared and then decided they need to see the calendar again. I thought that removing the group and adding back would be a work around but it seems that when the calendar is unshared by the user its permanent.,

Nextcloud Server version

29

Operating system

Other

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

This is related to https://github.com/nextcloud/server/issues/1653 which was closed. Originally Unsharing was not allowed which I think is better behavior but if that is something users want then there should be a means to atleast force the calendar to be reseen by the user that is in the group.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are identified in the issue. Start by reproducing the six-step group-sharing sequence on Nextcloud Server 29, then review the related issue #1653 and trace the calendar-sharing behavior. Done means a user who previously unshared the calendar can see it again after the group is removed and reshared, with a regression test covering that sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.