Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChristophWurst opened this issue Nov 11, 2021 · 3 comments

Comments

@ChristophWurst
Copy link
Member

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.

@ChristophWurst
Copy link
Member Author

I tried to understand why this could happen from reading the code of \OCA\Deck\DAV\CalendarPlugin but I don't see any difference between the two paths. If a calendar is listed for the calendar home then it should also be found when directly accessed.

@stefan-niedermann
Copy link
Member

Isn't this a duplicate of #2399 🤔?

@ChristophWurst
Copy link
Member Author

No. I don't want to write to the calendar. I want to change one of its props. Those props go to caldav's custom property backend. This works find for most board, only the ones shared read-only don't work because the calendar node is not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants