From d61950f0ee2da8b78d2eb08f3a9ed112bc93c728 Mon Sep 17 00:00:00 2001 From: peb-adr Date: Tue, 15 Aug 2023 11:11:47 +0200 Subject: [PATCH] change saml_private_key type to text (#1860) --- global/meta/models.yml | 2 +- openslides_backend/models/models.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/global/meta/models.yml b/global/meta/models.yml index 574db7fa2..ea9065ee9 100644 --- a/global/meta/models.yml +++ b/global/meta/models.yml @@ -149,7 +149,7 @@ organization: type: text restriction_mode: A saml_private_key: - type: string + type: text restriction_mode: A vote_decrypt_public_main_key: diff --git a/openslides_backend/models/models.py b/openslides_backend/models/models.py index e08e5a20d..e7b256153 100644 --- a/openslides_backend/models/models.py +++ b/openslides_backend/models/models.py @@ -3,7 +3,7 @@ from openslides_backend.models import fields from openslides_backend.models.base import Model -MODELS_YML_CHECKSUM = "4ee1bccdf2ec2a8d19562e1e4d4b18b2" +MODELS_YML_CHECKSUM = "5c16613cd811dc14025edcaeb4e8b2e2" class Organization(Model): @@ -42,7 +42,7 @@ class Organization(Model): saml_attr_mapping = fields.JSONField() saml_metadata_idp = fields.TextField() saml_metadata_sp = fields.TextField() - saml_private_key = fields.CharField() + saml_private_key = fields.TextField() committee_ids = fields.RelationListField(to={"committee": "organization_id"}) active_meeting_ids = fields.RelationListField( to={"meeting": "is_active_in_organization_id"}