From 19a60812ad0eeb9910a19acced27885e91175a3e Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Fri, 5 Apr 2019 11:30:23 +0200
Subject: [PATCH] Remove deprecated can_manage_affiliations permission

---
 scipost/management/commands/add_groups_and_permissions.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/scipost/management/commands/add_groups_and_permissions.py b/scipost/management/commands/add_groups_and_permissions.py
index 2829d9a9f..0d54ab481 100644
--- a/scipost/management/commands/add_groups_and_permissions.py
+++ b/scipost/management/commands/add_groups_and_permissions.py
@@ -298,12 +298,6 @@ class Command(BaseCommand):
             name='Can view timesheets',
             content_type=content_type)
 
-        # Affiliations administration
-        can_manage_affiliations, created = Permission.objects.get_or_create(
-            codename='can_manage_affiliations',
-            name='Can manage affiliations',
-            content_type=content_type)
-
         # News administration
         can_manage_news, created = Permission.objects.get_or_create(
             codename='can_manage_news',
@@ -347,7 +341,6 @@ class Command(BaseCommand):
             can_attend_VGMs,
             can_view_timesheets,
             can_manage_mailchimp,
-            can_manage_affiliations,
             can_view_statistics,
             can_create_profiles,
             can_view_profiles,
-- 
GitLab