Skip to content

feat: email domain lock config - #153

Merged
subnetmarco merged 2 commits into
mainfrom
feat/email-domain-lock
Aug 9, 2026
Merged

feat: email domain lock config #153
subnetmarco merged 2 commits into
mainfrom
feat/email-domain-lock

Conversation

@subnetmarco

@subnetmarco subnetmarco commented Aug 5, 2026

Copy link
Copy Markdown
Member

Goes in hand with the email domain lock work: https://github.com/Kong/volcano-hosting/pull/781

Copilot AI balanced review requested due to automatic review settings August 5, 2026 17:49
@subnetmarco
subnetmarco requested a review from a team as a code owner August 5, 2026 17:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds email-domain restrictions to declarative authentication configuration.

Changes:

  • Supports domain allowlists and enforcement modes.
  • Tests parsing, uploading, and clearing allowlists.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
internal/projectconfig/manifest.go Adds email-domain configuration fields.
internal/projectconfig/manifest_email_domains_test.go Tests allowlist round-tripping and clearing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +133 to +134
AllowedEmailDomains *[]string `yaml:"allowed_email_domains,omitempty" json:"allowed_email_domains,omitempty"`
AllowedEmailDomainsMode *string `yaml:"allowed_email_domains_mode,omitempty" json:"allowed_email_domains_mode,omitempty"`
@subnetmarco subnetmarco changed the title Feat/email domain lock feat: email domain lock config Aug 6, 2026
@subnetmarco
subnetmarco merged commit f1ae924 into main Aug 9, 2026
10 checks passed
@subnetmarco
subnetmarco deleted the feat/email-domain-lock branch August 9, 2026 15:56
@kong-volcano-app kong-volcano-app Bot mentioned this pull request Aug 9, 2026
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.

2 participants