6.0.0-beta1
7/6/25

[#9446] ITIP: accept-import when attendee has permissions on the organizer calendar
Summary ITIP: accept-import when attendee has permissions on the organizer calendar
Queue IMP
Queue Version 4.3.9
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester patrick.abiven (at) apitech (dot) fr
Created 12/13/2010 (5319 days ago)
Due
Updated 12/20/2010 (5312 days ago)
Assigned
Resolved 12/20/2010 (5312 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/20/2010 11:28:05 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of #3965.
12/13/2010 04:52:39 PM patrick (dot) abiven (at) apitech (dot) fr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ITIP: accept-import when attendee has permissions on the organizer calendar
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
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


Saved Queries