Switched to using cached_has_permission in templates, rather than having those permissions in template context