[PM-35253] Add organization ability UseInviteLinks#7489
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR adds the Code Review DetailsNo actionable findings. The implementation follows the established pattern for similar recently-added abilities (
|
|
New Issues (9)Checkmarx found the following issues in this Pull Request
Fixed Issues (7)Great job! The following issues were fixed in this Pull Request
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7489 +/- ##
==========================================
+ Coverage 63.87% 63.88% +0.01%
==========================================
Files 2088 2088
Lines 92350 92383 +33
Branches 8205 8205
==========================================
+ Hits 58987 59019 +32
- Misses 31337 31338 +1
Partials 2026 2026 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ttps://github.com/bitwarden/server into ac/pm-35253/add-useinvitelinks-organization-ability
| [UsePhishingBlocker] BIT NOT NULL CONSTRAINT [DF_Organization_UsePhishingBlocker] DEFAULT (0), | ||
| [UseDisableSmAdsForUsers] BIT NOT NULL CONSTRAINT [DF_Organization_UseDisableSmAdsForUsers] DEFAULT (0), | ||
| [UseMyItems] BIT NOT NULL CONSTRAINT [DF_Organization_UseMyItems] DEFAULT (0), | ||
| [UseInviteLinks] BIT NOT NULL CONSTRAINT [DF_Organization_UseInviteLinks] DEFAULT (0), |
There was a problem hiding this comment.
❓ PR 7438 has /util/Migrator/DbScripts/2026-04-10_02_AddExemptFromBillingAutomation.sql, which adds the ExemptFromBillingAutomation column to this table. If this PR is deployed with the same release (or later) as PR 7438, the columns will be out of order. Do you know if this deployment will happen before 7438? If not, then the UseInviteLinks column should be placed after the ExemptFromBillingAutomation, and the other objects should be adjusted as well.
There was a problem hiding this comment.
@mkincaid-bw well observed! I have fixed the order of the columns by putting UseInviteLinks after ExemptFromBillingAutomation
|
|
||
| WHILE @RowsAffected > 0 | ||
| BEGIN | ||
| UPDATE TOP (@BatchSize) [dbo].[Organization] |
There was a problem hiding this comment.
Note: I tested this against a backup and it took about a minute to run.
90acb7b
|





🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-35253
📔 Objective
Add the new organization ability
UseInviteLinksacross the server (schema/migrations, domain + licensing, API models, and tests).A database data migration is included to enable
UseInviteLinksfor existing Enterprise organizations.Related Pricing Service changes: https://github.com/bitwarden/billing-pricing/pull/103
Related Clients changes: bitwarden/clients#20227