Skip to content

[backend] feat(multi-tenancy): add tenant thanks to sso configuration (#4864)#5565

Closed
RomuDeuxfois wants to merge 9 commits intorelease/currentfrom
issue/sso-attach-tenant
Closed

[backend] feat(multi-tenancy): add tenant thanks to sso configuration (#4864)#5565
RomuDeuxfois wants to merge 9 commits intorelease/currentfrom
issue/sso-attach-tenant

Conversation

@RomuDeuxfois
Copy link
Copy Markdown
Member

Related issues

@github-actions github-actions Bot added the filigran team use to identify PR from the Filigran team label Apr 23, 2026
@Dimfacion
Copy link
Copy Markdown
Member

Seems to be working but there are issues with the CI and I have questions that I transmitted to the product team

@RomuDeuxfois RomuDeuxfois force-pushed the issue/sso-attach-tenant branch 2 times, most recently from 53a354c to 81aa4e5 Compare April 29, 2026 10:36
@github-actions
Copy link
Copy Markdown

Thank you for your contribution. This PR is but one step away from being ready for merging: all commits must be PGP-signed. To get started, please see https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

@RomuDeuxfois RomuDeuxfois force-pushed the issue/sso-attach-tenant branch 2 times, most recently from 3e4871b to 83d96e5 Compare April 29, 2026 14:31
… on groups (#4864)

fix(ci): keep SecurityServiceTest unchanged (no groups_management dependency)

SecurityServiceTest only reads tenant_id (simple string) from
application.properties — not the JSON blob. No change needed here.

fix(ci): load groups_management from JSON file in UserMappingServiceTest

Replace env.getProperty() calls with file-based loading to break
the CodeQL taint tracking chain that caused infinite analysis.

fix(ci): remove inline JSON from test application.properties

The groups_management JSON is now loaded from a dedicated file
(groups-management-test.json) to avoid CodeQL taint tracking issues.

fix(ci): extract groups_management JSON to dedicated test file

Move inline JSON from application.properties to a dedicated JSON file
to prevent CodeQL taint tracking from hanging on the
env.getProperty() → ObjectMapper.readValue() → findById() data flow.
@RomuDeuxfois RomuDeuxfois force-pushed the issue/sso-attach-tenant branch 2 times, most recently from a464245 to 4632c40 Compare April 30, 2026 07:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 5.55556% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.06%. Comparing base (6ef3045) to head (0b305de).
⚠️ Report is 1 commits behind head on release/current.

Files with missing lines Patch % Lines
...va/io/openaev/config/security/SecurityService.java 5.55% 17 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             release/current    #5565      +/-   ##
=====================================================
+ Coverage              40.68%   41.06%   +0.38%     
- Complexity              5913     6012      +99     
=====================================================
  Files                   2092     2107      +15     
  Lines                  55323    56132     +809     
  Branches                6932     7017      +85     
=====================================================
+ Hits                   22506    23053     +547     
- Misses                 31494    31739     +245     
- Partials                1323     1340      +17     
Flag Coverage Δ
backend 64.25% <5.55%> (+0.05%) ⬆️
frontend 1.71% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RomuDeuxfois RomuDeuxfois force-pushed the issue/sso-attach-tenant branch 2 times, most recently from b81bf55 to 0b305de Compare April 30, 2026 11:25
@RomuDeuxfois RomuDeuxfois force-pushed the issue/sso-attach-tenant branch from 0b305de to b50f447 Compare April 30, 2026 12:17
@RomuDeuxfois RomuDeuxfois deleted the issue/sso-attach-tenant branch May 3, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants