Repository navigation
fix: disabled apps activation (WPB-24768) - #5571
Conversation
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
Test Results 375 files + 2 375 suites +2 2m 3s ⏱️ +2s Results for commit 486269e. ± Comparison against base commit d922092. This pull request removes 1 and adds 26 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
46b1924 to
1825107
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #5571 +/- ##
===========================================
+ Coverage 56.97% 57.10% +0.13%
===========================================
Files 821 821
Lines 28598 28729 +131
Branches 4440 4491 +51
===========================================
+ Hits 16294 16406 +112
- Misses 10876 10879 +3
- Partials 1428 1444 +16
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
https://wearezeta.atlassian.net/browse/WPB-24768
https://wearezeta.atlassian.net/browse/WPB-24768
What's new in this PR?
Issues
Android could show Allow apps during group creation even when the team couldn’t use Apps for that conversation. Existing Proteus groups also offered the setting when Apps was off and the team had no whitelisted bots.
Causes (Optional)
Group creation treated a general Apps capability as sufficient without checking the conversation protocol. Existing Proteus group settings assumed legacy bots were available without checking the team’s whitelist.
Solutions
Check the team’s Apps capability for MLS creation and confirm legacy bot availability for Proteus. Hide Allow apps during creation when it’s unavailable and omit the Apps access role from the request. In existing Proteus groups, hide Apps when it’s off and the team has no whitelisted bots. Keep it visible when it’s on so an authorized admin can turn it off. Fetch the whitelist when opening settings or starting a new group or channel, and ignore superseded results.