Expand allowed_domains
policy to support email regexes
#1870
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
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#L20The text was updated successfully, but these errors were encountered: