From b97b0de41206b37a28733fbd97c7718696c46509 Mon Sep 17 00:00:00 2001 From: Ludwig Reiter Date: Tue, 26 Oct 2021 11:43:51 +0200 Subject: [PATCH] Add field limit_of_users to organization. --- docker/initial-data.json | 3 ++- docs/example-data.json | 1 + docs/models.yml | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docker/initial-data.json b/docker/initial-data.json index d70025c98..daf271a66 100644 --- a/docker/initial-data.json +++ b/docker/initial-data.json @@ -1,5 +1,5 @@ { - "_migration_index": 7, + "_migration_index": 8, "organization": { "1": { "id": 1, @@ -11,6 +11,7 @@ "reset_password_verbose_errors": false, "enable_electronic_voting": false, "limit_of_meetings": 0, + "limit_of_users": 0, "committee_ids": [ 1 ], diff --git a/docs/example-data.json b/docs/example-data.json index d15fe0a37..e92effb6a 100644 --- a/docs/example-data.json +++ b/docs/example-data.json @@ -17,6 +17,7 @@ 1 ], "limit_of_meetings": 20, + "limit_of_users": 40, "resource_ids": [ 1 ], diff --git a/docs/models.yml b/docs/models.yml index 156c76f4c..ff02300f4 100644 --- a/docs/models.yml +++ b/docs/models.yml @@ -100,6 +100,12 @@ organization: restriction_mode: B default: 0 minimum: 0 + limit_of_users: + type: number + description: Maximum of active users for the whole organization. 0 means no limitation at all + restriction_mode: B + default: 0 + minimum: 0 committee_ids: type: relation-list