Skip to content

Shared "☑️ can edit" (within NC) calendar titles break if class:confidential and edited by subscriber #4044

@paradeiser

Description

@paradeiser

Steps to reproduce

  1. Create User A and B
  2. User A shares a calendar with user B, checks "can edit" option
  3. User A creates an event "Test-Event" and sets visibility to "when shared show only Busy" (class:confidential)
  4. User B sees this event in his Calendar as "Busy" (instead of "Test-event")
  5. User B edits this event (e.g. shifts time)
  6. The event title also changes for the originating user A set to "Busy" hence, the original title vanished.

Expected behavior

I would expect:
6. The event title stays the same for the originating user A "Test-Event", with the new time or edits done by B.

Tho, I think this work-flow is contra-intuitive. It also does not reflect the common work-flow of google-calendars.

If a calendar is shared with "can edit" rights, I would expect this user also to see all details for "show as busy for others" events.
What sense would it make to be able to edit an event, I don't even know it's title.
Then the original title would not be obscured and user B could edit with the original title, hence it would also not be lost for user A.
The setting "When shared, show as" should actually state: "When shared to read-only users, show as busy"

One could discuss how to handle "hidden" (class:private) events.
Option 1) Don't even show to subscribers with "can edit" rights.
Option 2) Also show to "can edit" subscribers and let them actually edit this event too.
I personally would prefer option 1. This way you still have a way to entirely hide events from subscribers, even with edit rights.
The visibility option would state "When shared, hide this event to everyone"

Actual behaviour

If a subscribing user edits an event set to "show as busy" from another user, the original title is overwritten (to "Busy") also for the original user.

Edit: It breaks all event details, not just the title…

Calendar app version

3.2.0

CalDAV-clients used

NC Webinterface

Browser

Firefox 98

Client operating system

macOS

Server operating system

Linux 5.4.0-100-generic x86_64

Web server

No response

Database engine version

No response

PHP engine version

No response

Nextcloud version

23.0.2

Updated from an older installed version or fresh install

Fresh install

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions