Refs #19217 - fix bug "Expanding history lines requires permission"