镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Bug]: (CalDav|CardDav) unsharing calendar as owner leads to wrong state #49834

Closed

Description

@kesselb

⚠️ This issue respects the following points: ⚠️

Bug description

Removing the share for a user who has access to the calendar through a team/group membership leads to "wrong" state in the database.

Steps to reproduce

  • Users: Admin, Bob
  • Teams/Circle: A-Team (Members: Admin, Bob)
  1. Login as admin
  2. Create a calendar "A-Team"
  3. Share calendar "A-Team" to team/circle "A-Team"
  4. Remove "A-Team" calendar share for "A-Team"

(see below for database excerpts)

Expected behavior

Removing a calendar share as calendar owner should remove the related record in oc_dav_shares.
There should be no new row with access = 5 (unshare) if the action was done as calendar owner.

Additional info

oc_dav_shares after step 3:

Image

oc_dav_shares after step 4:

Image

Activity

  1. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Dec 12, 2024
  2. self-assigned this
    on Dec 12, 2024
  3. changed the title [-][Bug]: (CalDav|CardDav) unsharing with circles and groups leads to wrong state[/-] [+][Bug]: (CalDav|CardDav) unsharing calendar as owner leads to wrong state[/+] on Dec 20, 2024
  4. moved this from 📄 To do to 🏗️ In progress in 💌 📅 👥 Groupware teamon Feb 17, 2025
  5. added and removed
    1. to developAccepted and waiting to be taken care of
    on Mar 6, 2025
  6. moved this from Backlog to Confirmed in 🧑‍🤝‍🧑 Community triageon Apr 7, 2025
  7. moved this from 🏗️ In progress to ☑️ Done in 💌 📅 👥 Groupware teamon May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions