Merge pull request #10188 from nextcloud/backport/10078/invalid-actor-and-calendar-for-link-shares

[stable13] Correctly parse the subject parameters for link (un)shares of calendars
This commit is contained in:
Morris Jobke 2018-07-11 11:41:11 +02:00 committed by GitHub
commit a9b4be205a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -176,6 +176,8 @@ class Calendar extends Base {
case self::SUBJECT_DELETE . '_self': case self::SUBJECT_DELETE . '_self':
case self::SUBJECT_UPDATE: case self::SUBJECT_UPDATE:
case self::SUBJECT_UPDATE . '_self': case self::SUBJECT_UPDATE . '_self':
case self::SUBJECT_PUBLISH . '_self':
case self::SUBJECT_UNPUBLISH . '_self':
case self::SUBJECT_SHARE_USER: case self::SUBJECT_SHARE_USER:
case self::SUBJECT_UNSHARE_USER: case self::SUBJECT_UNSHARE_USER:
case self::SUBJECT_UNSHARE_USER . '_self': case self::SUBJECT_UNSHARE_USER . '_self':