[TYPO3-calendar] Deleting of events for public calendar does not work

Hanspeter Lutz hanspeter.lutz at gmail.com
Mon Sep 7 17:41:44 CEST 2015


Hello

Using cal 1.9.3 on TYPO3 6.2.14.

I try to allow a fe_group to EDIT and DELETE events of a public calendar.

To allow the fe_group 6 to EDIT events it  had to:

plugin.tx_cal_controller .rights.edit = 1
plugin.tx_cal_controller .rights.edit.event.group = 6
plugin.tx_cal_controller .rights.edit.event.public = 1

this works fine for EDIT, but the same approach for deleting does not work. I set the following:

plugin.tx_cal_controller .rights.delete = 1
plugin.tx_cal_controller .rights.delete.event.group = 6
plugin.tx_cal_controller .rights.delete.event.public = 1

When I debugged the code, I found that methods TYPO3\CMS\Cal\Model\EventModel::isUserAllowedToEdit() does evaluat the public flag, but the method TYPO3\CMS\Cal\Model\EventMocel::isUserAllowedToDelete() does not.

Why is this? Does anybody have an idea?

Any help would be appreciated!
Hanspeter



More information about the TYPO3-project-calendar mailing list