A calendar that is shared with a group (group is allowed to edit) cannot be edited by the group members. They can only see the already entered dates. To make a calendar editable by group members, it has to be shared with each one of them individually.
The group members should see the shared calendar and be able to insert new dates or change already entered ones.
The calendar is shared, but read-only.
Operating system: Debian 3.16.0-4-amd64
Web server: Apache 2.4.10
Database: MySQL 5.5.47
PHP version: 5.6.27
ownCloud version: 9.0.0
Updated from an older ownCloud or fresh install: update from 8.2
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):
List of activated apps:
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Probably a dup of #22932
No. I don't think so @RealRancor. #22932 is about migration of shares from versions before 9.0 and this issue is with new created calendars in ownCloud 9.0 😉
It is true that the group shares (as mentioned in #22932) weren't migrated correctly. But I did adapt them and afterwards the problem still existed.
@aspdye Its the same issue if you have a look at #22932 (comment)
I'll have a look at this - THX for reporting
@schmees any chance to test this patch? THX
@DeepDiver1975 As far as I can see, your patch influences the migration process. But if you install a fresh instance of ownCloud (without any previous migration) and proceed as described, the problem still exists. I don't have a test system running where I could apply your patch to, there is just our main instance running that is currently used by a lot of people. However, the workaround by sharing the important calendar with each group member individually works, but should be only a temporary solution.
@schmees I honestly cannot reproduce this.
I just shared a calendar with edit rights to a group. After logging in with one of the group members the shared calendar pops up in the calendar app and events can be added and edited.
Let me try this with plain oc9 ....
Okay ... this is reproducible in plain 9.0.0
The write acl is properly setup - the group has write permissions. I suspect the calendar app has issues in processing the acl
@georgehrke can you please double check? THX
@schmees are you experiencing these issues with anyother caldav client as well or only with our web app?
Most certainly related to this line: https://github.com/owncloud/calendar/blob/de9ff0f36b36e606beef3e40e6220e9cc6eaee4c/js/app/service/calendarservice.js#L399
Is there something like a group-principal we could query?
there is no group concept in caldav/carddav - we need to explicitly add the current principal to the acl
fix is in #23318
This is fixed via #23342