server icon indicating copy to clipboard operation
server copied to clipboard

[PM-10314] Auto-enable Single Org when a Domain is Verified

Open jrmccannon opened this issue 4 months ago â€ĸ 2 comments

🎟ī¸ Tracking

https://bitwarden.atlassian.net/browse/PM-10330

📔 Objective

This is to allow for the auto enabling of the Single Org Policy when a claimed domain is verified. This will also block a user from disabling the Single Org Policy if the organization has any verified domains.

This also included a refatctor of the ValidateOrganizationDomain scheduled job to use the VerifyOrganizationDomainCommand. This also required a refactor of the command to allow for it to be called by user action or the background job.

⏰ 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

jrmccannon avatar Oct 15 '24 21:10 jrmccannon