Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Santa ballot unicity across realms #1083

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

np5
Copy link
Member

@np5 np5 commented Nov 20, 2024

Make sure that not only a ballot from the same realm user is a match, but also a ballot from a different realm user with the same username. This avoids double votes in the case of 2 SAML apps with different scopes (All the employees for the portal, only the admins for the Zentral console) but from the same IdP, so with the same usernames.

Make sure that not only a ballot from the same realm user is a match,
but also a ballot from a different realm user with the same username.
This avoids double votes with 2 SAML apps with different scopes (All the
employees for the portal, only the admins for the Zentral console) but
from the same IdP, so with the same usernames.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11937071451

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 80.891%

Totals Coverage Status
Change from base Build 11933030228: -0.001%
Covered Lines: 38483
Relevant Lines: 47574

💛 - Coveralls

Copy link
Collaborator

@headmin headmin left a comment

Choose a reason for hiding this comment

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

LGTM

@np5 np5 merged commit b0127ca into main Nov 22, 2024
10 checks passed
@np5 np5 deleted the 20241120_santa_multi_realm_ballots branch November 22, 2024 10:17
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.

3 participants