Skip to content

[IDM] Make os_field and mapper_id unique together in idm_mapping - #3906

Merged
luisa-beerboom merged 2 commits into
OpenSlides:feature/sso-mappingfrom
luisa-beerboom:3905-os-field-and-mapper-id-unique-in-mapping
Nov 30, 2026
Merged

luisa-beerboom merged 2 commits into
OpenSlides:feature/sso-mappingfrom
luisa-beerboom:3905-os-field-and-mapper-id-unique-in-mapping

Conversation

@luisa-beerboom

@luisa-beerboom luisa-beerboom commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

@hjanott hjanott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the changes.

)
constraint_name_condition = f"constraint_name='{constraint_name}'"
if constraint_type:
constraint_name_condition += f" AND constraint_type='{constraint_type}'"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly speaking not a pure name condition anymore.

@luisa-beerboom
luisa-beerboom enabled auto-merge (squash) November 30, 2026 10:36
@luisa-beerboom luisa-beerboom linked an issue Nov 30, 2026 that may be closed by this pull request
@luisa-beerboom
luisa-beerboom merged commit 3834d99 into OpenSlides:feature/sso-mapping Nov 30, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[idm] Prevent multiple mappings of the same type per mapper

2 participants