Skip to content

feat: restrict login to different backend (WPB-26152)#4957

Merged
sbakhtiarov merged 3 commits into
developfrom
feat/restrict-login
Jun 15, 2026
Merged

feat: restrict login to different backend (WPB-26152)#4957
sbakhtiarov merged 3 commits into
developfrom
feat/restrict-login

Conversation

@sbakhtiarov

@sbakhtiarov sbakhtiarov commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

https://wearezeta.atlassian.net/browse/WPB-26152

https://wearezeta.atlassian.net/browse/WPB-26152

What's new in this PR?

Restrict users login to backend which is different from current session backend

  • New feature flag to enable the feature
  • KaliumConfigs update to expose the flag to kalium use cases
  • Call new use case in regular and SSO login flows.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.92%. Comparing base (e16d539) to head (5ccedba).

Files with missing lines Patch % Lines
...otlin/com/wire/android/ui/WireActivityViewModel.kt 50.00% 5 Missing and 3 partials ⚠️

❌ Your patch check has failed because the patch coverage (50.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4957      +/-   ##
===========================================
- Coverage    48.93%   48.92%   -0.01%     
===========================================
  Files          643      643              
  Lines        23055    23068      +13     
  Branches      3521     3525       +4     
===========================================
+ Hits         11282    11287       +5     
- Misses       10727    10732       +5     
- Partials      1046     1049       +3     
Files with missing lines Coverage Δ
...rc/main/kotlin/com/wire/android/ui/WireActivity.kt 0.00% <ø> (ø)
...otlin/com/wire/android/ui/WireActivityViewModel.kt 69.58% <50.00%> (-0.87%) ⬇️

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e16d539...5ccedba. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbakhtiarov sbakhtiarov changed the base branch from develop to release/cycle-4.22 June 11, 2026 08:01
@sbakhtiarov sbakhtiarov changed the base branch from release/cycle-4.22 to develop June 11, 2026 08:02
Comment thread app/src/main/res/values/strings.xml Outdated
@sbakhtiarov sbakhtiarov force-pushed the feat/restrict-login branch from 6338705 to 334ef9a Compare June 15, 2026 08:46
@sbakhtiarov sbakhtiarov force-pushed the feat/restrict-login branch 2 times, most recently from dc88855 to a071972 Compare June 15, 2026 08:59
@github-actions

Copy link
Copy Markdown
Contributor

@sbakhtiarov looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
3a39fb17538cef4c96eee5459cf9707924889a24 2b359bdcca5a2696dcc8e2c8729329d9aaacabec

Is this intentional?

@sbakhtiarov sbakhtiarov enabled auto-merge June 15, 2026 09:16
@sbakhtiarov sbakhtiarov force-pushed the feat/restrict-login branch from c135a90 to 5ccedba Compare June 15, 2026 12:58
@sonarqubecloud

Copy link
Copy Markdown

@sbakhtiarov sbakhtiarov added this pull request to the merge queue Jun 15, 2026
Merged via the queue into develop with commit dbd47c3 Jun 15, 2026
21 checks passed
@sbakhtiarov sbakhtiarov deleted the feat/restrict-login branch June 15, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants