Skip to content

Comments

fix: more strict team validation#394

Merged
typfel merged 3 commits intomainfrom
fix/more-strict-team-validation
Sep 15, 2025
Merged

fix: more strict team validation#394
typfel merged 3 commits intomainfrom
fix/more-strict-team-validation

Conversation

@typfel
Copy link
Member

@typfel typfel commented Sep 11, 2025

What's new in this PR


PR Submission Checklist for internal contributors
  • The PR Title
    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@typfel typfel requested a review from a team as a code owner September 11, 2025 15:28
Previously two teams were considered equal if one of them were None, this
is no longer the case. This mainly affects the the generation of the dpop
access token which is a function which executes on the wire-server. The
effect is that it's no longer allowed for a client which belongs to a team
to omit the team parameter when enrolling into e2ei.
is allowed to be omitted when generating a dpop access token.

It's now only allowed to be omitted when the user in question also
isn't associated with a team.
This function is exclusively used in the tests and previously the
team was defaulting to always be None, which will now fail because
of to the more strict team comparision introduced in the previous
commit.
@typfel typfel force-pushed the fix/more-strict-team-validation branch from 008728d to 1c552aa Compare September 12, 2025 07:22
@typfel typfel merged commit 1c552aa into main Sep 15, 2025
16 checks passed
@typfel typfel deleted the fix/more-strict-team-validation branch September 15, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants