Merge branch 'bugfix-templates' into 'master'

Fix check rights on public templates

See merge request !29
2 jobs for master in 14 minutes and 12 seconds (queued for 12 seconds)
Status Name Job ID Coverage
  Test
passed test:7.0 #12379

00:14:12

passed test:7.1 #12380

00:13:47