Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into b-2503-allow-to-edi…
Browse files Browse the repository at this point in the history
…t-own-delegation
  • Loading branch information
luisa-beerboom committed Sep 30, 2024
2 parents 393ba54 + e5b74fa commit 72b0730
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
41 changes: 31 additions & 10 deletions models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,9 @@ organization:
reset_password_verbose_errors:
type: boolean
restriction_mode: B
genders:
type: string[]
default:
- male
- female
- diverse
- non-binary
gender_ids:
type: relation-list
to: gender/organization_id
restriction_mode: A

# Configuration (only for the server owner)
Expand Down Expand Up @@ -301,9 +297,6 @@ user:
type: boolean
default: true
restriction_mode: D
gender:
type: string
restriction_mode: A
email:
type: string
restriction_mode: B
Expand All @@ -322,6 +315,10 @@ user:
type: timestamp
restriction_mode: A
read_only: true
gender_id:
type: relation
to: gender/user_ids
restriction_mode: A

# Organization, meeting and committee
organization_management_level:
Expand Down Expand Up @@ -497,6 +494,26 @@ meeting_user:
restriction_mode: A
to: structure_level/meeting_user_ids

gender:
id:
type: number
restriction_mode: A
constant: true
name:
type: string
required: True
restriction_mode: A
description: unique
organization_id:
type: relation
required: True
to: organization/gender_ids
restriction_mode: A
user_ids:
type: relation-list
to: user/gender_id
restriction_mode: A

organization_tag:
id:
type: number
Expand Down Expand Up @@ -1154,6 +1171,10 @@ meeting:
type: boolean
default: True
restriction_mode: B
motions_hide_metadata_background:
type: boolean
default: False
restriction_mode: B
motions_show_referring_motions:
type: boolean
default: True
Expand Down
14 changes: 12 additions & 2 deletions search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,12 @@ motion:
last_name: null
pronoun: null
username: null
gender: null
gender_id:
type: relation
collection: gender
fields:
id: null
name: null
motion_change_recommendation:
contains:
- motion
Expand Down Expand Up @@ -251,7 +256,6 @@ user:
- title
- first_name
- last_name
- gender
- email
- organization_management_level
- meeting_ids
Expand All @@ -278,3 +282,9 @@ user:
fields:
id: null
name: null
gender_id:
type: relation
collection: gender
fields:
id: null
name: null

0 comments on commit 72b0730

Please sign in to comment.