With Entity Access Control off. Deleting a template yields:
Repro:
1) Use Repositoy manager and import a template not previously loaded
2) Edit the template and disable it
3) Delete the template
looking at the code, this appears to have always existed: JcrFeedTemplateProvider.java#deleteTemplate(FeedManagerTemplate feedManagerTemplate)
This method needs to check if entity access is turned on before calling:
feedManagerTemplate.getAllowedActions().checkPermission(TemplateAccessControl.DELETE);
I thought the integration tests did simple Template import and then delete?