#5636 added TemplateLayout permission type