57721188 is_allowed checks in mustache templates should use the relevant

object instance, not the page object.