Revert "Only show ‘Request to go live’ link to admin users"

This reverts commit 385221cf5b.

The `current_user.has_permissions()` doesn’t seem to work on non-service
pages. Will investigate later.
This commit is contained in:
Chris Hill-Scott
2016-09-08 09:46:31 +01:00
parent 5176590faf
commit e29952c4da

View File

@@ -35,7 +35,7 @@
<p>
When youre ready we can
{% if current_service and current_user.has_permissions(['manage_settings'], admin_override=True) %}
{% if current_service %}
<a href="{{ url_for('main.service_request_to_go_live', service_id=current_service.id) }}">remove these restrictions</a>.
{% else %}
remove these restrictions.