diff --git a/.github/workflows/md5_check_initial-data.yml b/.github/workflows/md5_check_initial-data.yml index 7d2a4a95f..c48d8bf5b 100644 --- a/.github/workflows/md5_check_initial-data.yml +++ b/.github/workflows/md5_check_initial-data.yml @@ -21,4 +21,4 @@ jobs: run: md5sum docker/initial-data.json - name: Validate and protect initial-data.json - run: echo "a2e47f6afef1e7ea9ff4debc84305a6c docker/initial-data.json" | md5sum -c - + run: echo "c25fd1ee8ef1f152749f5a7608e94996 docker/initial-data.json" | md5sum -c - 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