Stop checking for upload_document permission

All services have the `upload_document` permission now, so we don't need
to check for it on the email formatting page. This also deletes a test
which is not needed now.
This commit is contained in:
Katie Smith
2021-02-23 13:52:41 +00:00
parent cc06d3bbd8
commit d7e56f6956
2 changed files with 1 additions and 18 deletions

View File

@@ -36,9 +36,7 @@
{% include "partials/templates/guidance-personalisation.html" %}
{% include "partials/templates/guidance-optional-content.html" %}
{% include "partials/templates/guidance-links.html" %}
{% if current_service.has_permission('upload_document') %}
{% include "partials/templates/guidance-send-a-document.html" %}
{% endif %}
{% include "partials/templates/guidance-send-a-document.html" %}
</div>
</div>
{% endcall %}