From 2a58c2bca73a9da5691b4c9cdb3da745be6ee569 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Wed, 27 Jun 2018 09:50:35 +0200
Subject: [PATCH] Permissions change

---
 .../partials/scipost/personal_page/editorial_actions.html     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scipost/templates/partials/scipost/personal_page/editorial_actions.html b/scipost/templates/partials/scipost/personal_page/editorial_actions.html
index 0996ec371..c0eb804f5 100644
--- a/scipost/templates/partials/scipost/personal_page/editorial_actions.html
+++ b/scipost/templates/partials/scipost/personal_page/editorial_actions.html
@@ -107,7 +107,7 @@
         {% endif %}
     </div>
 
-    {% if perms.scipost.can_oversee_refereeing or perms.scipost.can_take_charge_of_submissions %}
+    {% if perms.scipost.can_oversee_refereeing or request.user.contributor.is_MEC %}
         <div class="col-md-4">
             <h3>Info</h3>
             <ul>
@@ -122,7 +122,7 @@
                 {% if perms.scipost.can_assign_submissions %}
                     <li>Assign Submissions via the <a href="{% url 'submissions:pool' %}">Submissions Pool</a> ({{ nr_submissions_to_assign }})</li>
                 {% endif %}
-                {% if perms.scipost.can_take_charge_of_submissions %}
+                {% if request.user.contributor.is_MEC %}
                     <li>Accept or decline assignments via the <a href="{% url 'submissions:pool' %}">Submissions Pool</a> ({{ nr_assignments_to_consider }})</li>
                 {% endif %}
             </ul>
-- 
GitLab