Skip to content

feat: allow allUsers and allAuthenticatedUsers in role bind email input#82

Merged
acoshift merged 1 commit into
mainfrom
claude/priceless-albattani-fe08de
May 12, 2026
Merged

feat: allow allUsers and allAuthenticatedUsers in role bind email input#82
acoshift merged 1 commit into
mainfrom
claude/priceless-albattani-fe08de

Conversation

@acoshift
Copy link
Copy Markdown
Member

Summary

  • Changes the email field on the Add Member page (/role/bind) from type="email" to type="text" so the special IAM principals allUsers and allAuthenticatedUsers can be entered
  • Adds a pattern attribute that validates input as either a valid email address or one of the two special values
  • Adds a datalist that provides autocomplete suggestions for allUsers and allAuthenticatedUsers
  • Updates the placeholder to hint at the accepted values

Test plan

  • Enter a normal email address — form submits successfully
  • Type allUsers — autocomplete suggestion appears; form submits successfully
  • Type allAuthenticatedUsers — autocomplete suggestion appears; form submits successfully
  • Enter an invalid string (e.g. notanemail) — browser validation blocks submission
  • Open bind page with a pre-filled email via query param — field remains readonly as before

🤖 Generated with Claude Code

Switches the email field from type="email" to type="text" with a pattern
that accepts valid emails plus the two special IAM principals. A datalist
provides autocomplete suggestions for allUsers and allAuthenticatedUsers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying deploys-app--console with  Cloudflare Pages  Cloudflare Pages

Latest commit: dc3301d
Status: ✅  Deploy successful!
Preview URL: https://c9c83d51.deploys-app--console.pages.dev
Branch Preview URL: https://claude-priceless-albattani-f.deploys-app--console.pages.dev

View logs

@acoshift acoshift merged commit 864f93d into main May 12, 2026
3 checks passed
@acoshift acoshift deleted the claude/priceless-albattani-fe08de branch May 12, 2026 09:49
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.

1 participant