From f70861b7c07938c123f17732d4e6cd9bc4184520 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 12 Feb 2020 09:19:43 +0000 Subject: [PATCH] Disallow setting of new directors and staff --- apiserver/apiserver/api/serializers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apiserver/apiserver/api/serializers.py b/apiserver/apiserver/api/serializers.py index 77dd843..3a3d3ef 100644 --- a/apiserver/apiserver/api/serializers.py +++ b/apiserver/apiserver/api/serializers.py @@ -168,6 +168,8 @@ class AdminMemberSerializer(MemberSerializer): 'member_forms', 'user', 'old_email', + 'is_director', + 'is_staff', ]