Church granted permit for recovery center