Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand allowed_domains policy to support email regexes #1870

Closed
matrixbot opened this issue Sep 9, 2024 · 0 comments · Fixed by #4048
Closed

Expand allowed_domains policy to support email regexes #1870

matrixbot opened this issue Sep 9, 2024 · 0 comments · Fixed by #4048
Labels
A-Configuration Related on what is configurable and how it can be configured A-Registration-Flow Related to the user registration flow O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New feature of request

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @jaywink at matrix-org/matrix-authentication-service#1870.

In EMS we allow customers to define a list of email regexes for who can register to a homeserver. Often these are full domains but also often individual emails. Supporting regexes would be the easiest way to cover both use cases.

Code ref for current allowed_domains check: https://github.com/matrix-org/matrix-authentication-service/blob/a62aa87b0c323907cc4c564be2c76782a56b8589/policies/email.rego#L20

@matrixbot matrixbot added A-Configuration Related on what is configurable and how it can be configured A-Registration-Flow Related to the user registration flow O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New feature of request labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Configuration Related on what is configurable and how it can be configured A-Registration-Flow Related to the user registration flow O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New feature of request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant