Fixed permissions settings in calendar. The original code skirted around the fact that context_id in the calendar item was being set to NUL…
Show more
Fixed permissions settings in calendar. The original code skirted aroundthe fact that context_id in the calendar item was being set to NULL byphysically copying the parent calendar's permissions and attaching themto the new item.This messed up recurring items because the code to copy an item didn't copythe permissions, just context_id.I changed the calendar item create code to set context_id to the calendarparent, which seems to work fine. After all this is how the perms systemis meant to work ...
Show less