Is there a way to display a list of posts created in a custom post type by user role on the front end? Bonus points if there is a way to include a delete button next to a post that will remove it.
My use case is that I am building an intranet with a number of divisions. There may be 5 users who manage a particular division's section. In the section, I have a calendar custom post type where they can post the code for a Google Calendar iframe to display on their division page. On the division administration page I would like to be able to list all the calendars for the division with a delete button so that they can remove a calendar if they want.
Thanks in advance.