#363977 by catch, fabsor, and snufkin: Base comment edit links on a permission rather than a count query (performance).