[Tickets #13822] Re: Shared calendar makes CalDAV fail with 500

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Feb 4 09:57:04 UTC 2016


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13822
------------------------------------------------------------------------------
  Ticket             | 13822
  Updated By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | Shared calendar makes CalDAV fail with 500
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | ro-cal.jpg
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2016-02-04 09:57) wrote:



We have a ReadOnly Calendar shared to all, see attachement.

CalDAV returns these privileges, which matches those of the calendar  
in comment #7 _and_ matches those privileges of the user's own calendar.

         <d:propstat>
             <d:prop>
                 <d:current-user-privilege-set>
                     <d:privilege xmlns:d="DAV:">
                         <d:read-free-busy  
xmlns:d="urn:ietf:params:xml:ns:caldav"/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:write/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:write-acl/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:write-properties/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:write-content/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:bind/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:unbind/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:unlock/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:read/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:read-acl/>
                     </d:privilege>
                     <d:privilege xmlns:d="DAV:">
                         <d:read-current-user-privilege-set/>
                     </d:privilege>
                 </d:current-user-privilege-set>

If I put a new event into this calendar, I get:

HTTP/1.1 500 Internal Server Error

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
   <s:exception>Sabre\DAV\Exception</s:exception>
   <s:message>Calendar does not exist or no permission to edit</s:message>
   <s:sabredav-version>1.8.10</s:sabredav-version>
</d:error>

Well, the user does not have no permission in Horde, but CalDAV claimed so.

If I emit the request with the user's calendar URL, the request succeeds.



skhorde at smail.inf.fh-bonn-rhein-sieg.de (2016-02-04 09:57) uploaded:  
ro-cal.jpg

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=ro-cal.jpg&ticket=13822&fn=%2Fro-cal.jpg





More information about the bugs mailing list