Skip to content

Conversation

@cd-bitwarden
Copy link
Contributor

@cd-bitwarden cd-bitwarden commented Oct 22, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/SM-1740
https://bitwarden.atlassian.net/browse/SM-1742

📔 Objective

Adding the new column to the database for adding a new item to the organization table for "disabling SM ads for users", this new item is called UseDisableSMAdsForUsers.

📸 Screenshots

N/A

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2025

Logo
Checkmarx One – Scan Summary & Details3ad52dc9-f422-4928-b32b-0023d1d179e3

New Issues (3)

Checkmarx found the following issues in this Pull Request

# Severity Issue Source File / Package Checkmarx Insight
1 MEDIUM CSRF /src/Api/Vault/Controllers/CiphersController.cs: 1511
detailsMethod at line 1511 of /src/Api/Vault/Controllers/CiphersController.cs gets a parameter from a user request from id. This parameter value flows ...
Attack Vector
2 MEDIUM CSRF /src/Api/Vault/Controllers/CiphersController.cs: 1387
detailsMethod at line 1387 of /src/Api/Vault/Controllers/CiphersController.cs gets a parameter from a user request from id. This parameter value flows ...
Attack Vector
3 MEDIUM CSRF /src/Api/Vault/Controllers/CiphersController.cs: 245
detailsMethod at line 245 of /src/Api/Vault/Controllers/CiphersController.cs gets a parameter from a user request from id. This parameter value flows t...
Attack Vector
Fixed Issues (1)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
MEDIUM CSRF /src/Api/Billing/Controllers/VNext/AccountBillingVNextController.cs: 97

@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

❌ Patch coverage is 64.51613% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.97%. Comparing base (f2aa742) to head (b8860ca).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...AdminConsole/Views/Shared/_OrganizationForm.cshtml 0.00% 3 Missing ⚠️
...illing/Organizations/Models/OrganizationLicense.cs 40.00% 3 Missing ⚠️
...Admin/AdminConsole/Models/OrganizationEditModel.cs 33.33% 2 Missing ⚠️
...Admin/AdminConsole/Models/OrganizationViewModel.cs 0.00% 1 Missing ⚠️
.../Core/AdminConsole/Services/OrganizationFactory.cs 66.66% 1 Missing ⚠️
...mplementations/OrganizationLicenseClaimsFactory.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6482      +/-   ##
==========================================
+ Coverage   55.03%   58.97%   +3.93%     
==========================================
  Files        1934     1934              
  Lines       85581    85611      +30     
  Branches     7656     7659       +3     
==========================================
+ Hits        47098    50486    +3388     
+ Misses      36695    33256    -3439     
- Partials     1788     1869      +81     

☔ 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.

@cd-bitwarden cd-bitwarden marked this pull request as ready for review October 23, 2025 14:00
@cd-bitwarden cd-bitwarden requested review from a team as code owners October 23, 2025 14:00
cyprain-okeke
cyprain-okeke previously approved these changes Oct 27, 2025
Copy link
Contributor

@cyprain-okeke cyprain-okeke left a comment

Choose a reason for hiding this comment

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

looks good

BTreston
BTreston previously approved these changes Oct 27, 2025
@claude
Copy link
Contributor

claude bot commented Oct 28, 2025

Claude finished @cd-bitwarden's task in 2m 51s —— View job


Code Review Complete

  • Starting code review
  • Analyzing changes
  • Posting review comments

The bitwarden-code-reviewer agent has completed its review and posted inline comments directly on the PR.

Copy link
Contributor

@mkincaid-bw mkincaid-bw left a comment

Choose a reason for hiding this comment

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

Additional refresh statements needed, plus a question regarding casing.

@cd-bitwarden cd-bitwarden dismissed stale reviews from BTreston and cyprain-okeke via 363fa4f November 6, 2025 02:51
@cd-bitwarden cd-bitwarden requested a review from a team December 26, 2025 19:53
rkac-bw
rkac-bw previously approved these changes Dec 26, 2025
Copy link
Contributor

@rkac-bw rkac-bw left a comment

Choose a reason for hiding this comment

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

LGTM

@cd-bitwarden cd-bitwarden requested a review from a team December 30, 2025 14:32
JimmyVo16
JimmyVo16 previously approved these changes Jan 2, 2026
Copy link
Contributor

@rkac-bw rkac-bw left a comment

Choose a reason for hiding this comment

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

lgtm

@cd-bitwarden cd-bitwarden merged commit afd47ad into main Jan 7, 2026
49 checks passed
@cd-bitwarden cd-bitwarden deleted the SM-1571-DisableSMAdsForUsers branch January 7, 2026 16:42
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.

10 participants