nextcloud / nextcloud/deck

Shared Deck calendar not found for PROPPATCH if shared without edit rights

Open
#3,422 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: dav feature: sharing
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug

I have a bunch of Deck boards shared with me. Some are read-write, some are read-only. When I check the option to show Deck Calendars in the bottom left the boards show as calendars in Calendar. However, I can only toggle visibility for board calendars where I have edit rights.

To Reproduce
Steps to reproduce the behavior:

  1. Share a calendar from user A to user B read-only
  2. Open the Calendar app as user B
  3. Toggle the calendar visibility
  4. See an error

Bildschirmfoto von 2021-11-11 17-50-20

Expected behavior

Visibility changes

Screenshots

see above

Server details

Operating system:

Arch, btw

Web server:

Database:

PHP version:

Nextcloud version: 22.1 (company cloud)


This bug was originally identified by @AndyScherzinger. He's not able to toggle off the same board that I'm unable to toggle on.

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

Start by reproducing the read-only shared Deck calendar case in Calendar using the listed steps and compare it with an editable share. The payload names no source file or test; done means a read-only user can toggle visibility without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.