Use correct perms to show edit env form and remove unnecessary perms check to show links for app settings and team

This commit is contained in:
leigh-mil
2019-08-01 10:37:24 -04:00
parent 6ad3e41b70
commit 6dc5c14964
2 changed files with 8 additions and 12 deletions

View File

@@ -80,7 +80,7 @@
{% include "fragments/flash.html" %}
{% endif %}
{% if user_can(permissions.EDIT_APPLICATION) %}
{% if user_can(permissions.EDIT_ENVIRONMENT) %}
{% include "fragments/applications/edit_environments.html" %}
{% if user_can(permissions.CREATE_ENVIRONMENT) %}