Check project manager permissions when trying to delete repo