Merge pull request #6268 from reiterl/limit_of_users

Add field limit_of_users to organization.
This commit is contained in:
reiterl 2021-10-28 14:29:31 +02:00 committed by GitHub
commit 4430f0560a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -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 -

View File

@ -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
],

View File

@ -17,6 +17,7 @@
1
],
"limit_of_meetings": 20,
"limit_of_users": 40,
"resource_ids": [
1
],

View File

@ -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