mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 09:13:58 -04:00
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:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When you’re ready we can
|
When you’re 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>.
|
<a href="{{ url_for('main.service_request_to_go_live', service_id=current_service.id) }}">remove these restrictions</a>.
|
||||||
{% else %}
|
{% else %}
|
||||||
remove these restrictions.
|
remove these restrictions.
|
||||||
|
|||||||
Reference in New Issue
Block a user