Skip to content

Commit

Permalink
change saml_private_key type to text (#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
peb-adr authored Aug 15, 2023
1 parent 3496fdf commit d61950f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion global/meta/models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions openslides_backend/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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"}
Expand Down

0 comments on commit d61950f

Please sign in to comment.