Added rerun permission validation before a rerun task gets created
Merge pull request #211 from jembi/rerun-permissions

Added rerun permission validation before a rerun task gets created - closes #189