From 2d73911081cf7f47345b1ea8625157a8e758baba Mon Sep 17 00:00:00 2001
From: George Drummond
Date: Wed, 20 Mar 2019 13:06:22 -0400
Subject: [PATCH] Declare specific permissions in test
---
templates/fragments/primary_point_of_contact.html | 2 +-
tests/routes/portfolios/test_portfolios_index.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/templates/fragments/primary_point_of_contact.html b/templates/fragments/primary_point_of_contact.html
index eaba275a..692bdbd6 100644
--- a/templates/fragments/primary_point_of_contact.html
+++ b/templates/fragments/primary_point_of_contact.html
@@ -14,7 +14,7 @@
{{ portfolio.owner.phone_number | usPhone }}
- {% if portfolio.owner == current_user %}
+ {% if user_can(permissions.EDIT_PORTFOLIO_POC) %}