.ical files not populating correctly for sites with ACL's configured for events
The iCal files for events are not populating correctly for sites that have ACLs for events set up.
- Create 2 events A and B
- Create an ACL for event B
- Go to the Event info page for Event A
- click the iCal button to download the .ics file.
The file will look like:
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//CiviCRM//NONSGML CiviEvent iCal//EN X-WR-TIMEZONE:America/New_York METHOD:PUBLISH END:VCALENDAR
NOTE there are no dates or times
the .ics file should be populated to include the date/time of the event etc.
I was able to replicate this on master
I think this has to do with this code: https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Permission.php#L355