Fix for user with only send permissions.

This commit is contained in:
Nicholas Staples
2016-05-09 10:55:02 +01:00
parent c60f1dc2cd
commit 05882aafb2
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
{% if current_service.restricted %}
{% include 'views/dashboard/trial-mode-banner.html' %}
{% endif %}
{% else %}
{% elif not current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %}
{% include 'views/dashboard/no-permissions-banner.html' %}
{% endif %}

View File

@@ -1,7 +1,7 @@
export NOTIFY_ADMIN_ENVIRONMENT='config.Test'
export ADMIN_CLIENT_SECRET='dev-notify-secret-key'
export ADMIN_CLIENT_USER_NAME='dev-notify-admin'
export API_HOST_NAME='http://localhost:6311'
export API_HOST_NAME=''
export DANGEROUS_SALT='dev-notify-salt'
export SECRET_KEY='dev-notify-secret-key'
export DESKPRO_API_HOST=""