[Tickets #9446] ITIP: accept-import when attendee has permissions on the organizer calendar

bugs at horde.org bugs at horde.org
Mon Dec 13 16:52:39 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9446
------------------------------------------------------------------------------
  Ticket             | 9446
  Created By         | patrick.abiven at apitech.fr
  Summary            | ITIP: accept-import when attendee has permissions on
                     | the organizer calendar
  Queue              | IMP
  Version            | 4.3.9
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven at apitech.fr (2010-12-13 11:52) wrote:

Hello
When an attendee have permissions (either read or write) on the  
organizer calendar, the ITIP 'accept-import' doesn't work correctly.

In imp/lib/MIME/Viewer/itip.php, 'accept-import' :
- first try to find an existing event through an export (from  
calendars with read-access)
- if an existing event is found, it tries to replace it (requiring a  
write-access).

If the attendee have a read permission on the organizer calendar:
- an existing event is found (from the organizer calendar)
- the replace action fails with an error message.
- a new event is added to the attendee calendar.

If the attendee have a write permission on the organizer calendar:
- an existing event is found (from the organizer calendar)
- the replace action succeeded.
- no event is added to the attendee calendar.

As a workaround, we can check for an existing event not from all  
calendars with read-access but only from the calendar where the  
attendee adds its events (Kronolith::getDefaultCalendar(PERMS_EDIT);

Regards
Patrick








More information about the bugs mailing list