These changes make it so that protected email domains can be set to always premod, but they still cannot be set for ban new commenter accounts.
These changes will impact:
[ ] commenters
[x] moderators
[x] admins
[ ] developers
What changes to the GraphQL/Database Schema does this PR introduce?
none
Does this PR introduce any new environment variables or feature flags?
no
If any indexes were added, were they added to INDEXES.md?
n/a
How do I test this PR?
Attempt to set a protected email domain to always premod in Configure > Moderation > Users. See that it works. Attempt to set it to ban new users. See that it still throws an error.
What does this PR do?
These changes make it so that protected email domains can be set to always premod, but they still cannot be set for ban new commenter accounts.
These changes will impact:
What changes to the GraphQL/Database Schema does this PR introduce?
none
Does this PR introduce any new environment variables or feature flags?
no
If any indexes were added, were they added to
INDEXES.md
?n/a
How do I test this PR?
Attempt to set a protected email domain to always premod in Configure > Moderation > Users. See that it works. Attempt to set it to ban new users. See that it still throws an error.
Were any tests migrated to React Testing Library?
How do we deploy this PR?