Skip to content

Commit

Permalink
[#2221] Change default Zaak/Klant config to not use RSIN
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-sigma committed Apr 2, 2024
1 parent 5722591 commit eac70a1
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.2.11 on 2024-04-02 12:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("openklant", "0010_openklantconfig_register_channel"),
]

operations = [
migrations.AlterField(
model_name="openklantconfig",
name="use_rsin_for_innNnpId_query_parameter",
field=models.BooleanField(
default=False,
help_text="If enabled, resources from the Klanten and Contactmomenten APIs for eHerkenning users are fetched using the company RSIN (Open Klant). If not enabled, these resources are fetched using the KvK number.",
verbose_name="Fetch resources from Klanten and Contactmomenten APIs for users authenticated with eHerkenning using RSIN",
),
),
]
2 changes: 1 addition & 1 deletion src/open_inwoner/openklant/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class OpenKlantConfig(SingletonModel):
"users are fetched using the company RSIN (Open Klant). "
"If not enabled, these resources are fetched using the KvK number."
),
default=True,
default=False,
)

register_api_required_fields = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.2.11 on 2024-04-02 12:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("openzaak", "0045_usercaseinfoobjectnotification_collision_key_and_more"),
]

operations = [
migrations.AlterField(
model_name="openzaakconfig",
name="fetch_eherkenning_zaken_with_rsin",
field=models.BooleanField(
default=False,
help_text="If enabled, Zaken for eHerkenning users are fetched using the company RSIN (Open Zaak). If not enabled, Zaken are fetched using the KvK number (eSuite).",
verbose_name="Fetch Zaken for users authenticated with eHerkenning using RSIN",
),
),
]
2 changes: 1 addition & 1 deletion src/open_inwoner/openzaak/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class OpenZaakConfig(SingletonModel):
"If enabled, Zaken for eHerkenning users are fetched using the company RSIN (Open Zaak). "
"If not enabled, Zaken are fetched using the KvK number (eSuite)."
),
default=True,
default=False,
)

title_text = models.TextField(
Expand Down

0 comments on commit eac70a1

Please sign in to comment.