diff --git a/apps/orgs/serializers.py b/apps/orgs/serializers.py index fd4c16059..7c7cc02fb 100644 --- a/apps/orgs/serializers.py +++ b/apps/orgs/serializers.py @@ -39,7 +39,7 @@ class OrgSerializer(ModelSerializer): class CurrentOrgSerializer(ModelSerializer): class Meta: model = Organization - fields = ['id', 'name', 'is_default', 'is_root', 'comment'] + fields = ['id', 'name', 'is_default', 'is_root', 'is_system', 'comment'] class CurrentOrgDefault: diff --git a/apps/users/serializers/profile.py b/apps/users/serializers/profile.py index 5bbf5598a..d52c7be42 100644 --- a/apps/users/serializers/profile.py +++ b/apps/users/serializers/profile.py @@ -13,6 +13,7 @@ class UserOrgSerializer(serializers.Serializer): name = serializers.CharField() is_default = serializers.BooleanField(read_only=True) is_root = serializers.BooleanField(read_only=True) + is_system = serializers.BooleanField(read_only=True) class UserUpdatePasswordSerializer(serializers.ModelSerializer):