-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No duplicate calendars if shared with user and group and the user is …
…part of the group
- Loading branch information
1 parent
3f88c20
commit e3ef67b
Showing
2 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I didn't test it, but I don't think this code takes different permissions into consideration.
What if a user gives read-write access to another user, but only read-access to a group, the other user is a member of.
Will the user the calendar is shared with end up with a read-only or a read-write calendar?