[TYPO3-calendar] Deleting of events for public calendar does not work
Mario Matzulla
mario at matzullas.de
Thu Sep 17 21:37:53 CEST 2015
Hi Hanspeter,
Am 07.09.15 um 17:41 schrieb Hanspeter Lutz:
> 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?
I think it got forgotten :(
Please create a feature request on forge and I will add it.
Regards,
Mario
>
> Any help would be appreciated!
> Hanspeter
>
More information about the TYPO3-project-calendar
mailing list