Check template permission in 2.05

Check the template permission for non superadmin user, with the new Permission model.