Automatically add domain to group

AI-generated summary

Issue with Automating Domain Addition to Group

Users are experiencing issues with the feature that automatically adds users to a group based on their domain. tpetrov reports that when trying to add a domain, it shows “No matches found” and the previously added domain has disappeared. maiki suggests it might be a UI bug or conflicting plugin and advises trying safe mode to troubleshoot.

tpetrov and simon confirm the issue, with simon replicating it on https://try.discourse.org/. downey mentions that they noticed the issue a week or two ago but didn’t have time to troubleshoot.

joffreyjaffeux confirms that the issue will be fixed by https://github.com/discourse/discourse/pull/9022, which includes a test to prevent future regressions.

Seems the feature that I can setup a domain and users with email that matches it are automatically added to a group doesn’t work any more.
When I try to add a domain it just shows No matches found

Or am I missing something?

3 Likes

What did you add for the domain? Did you check the box, and upon submitting it gave you an error message?

1 Like

Previously I had added a domain, but now it has disappeared.
Now if I try to add a domain it simply doesn’t show the green check box for saving.

3 Likes

That sounds like a UI bug or conflicting plugin; if the box isn’t working you won’t know if the auto-add-to-group function is working (I presume it does).

Anyhow, try safe mode (/safe-mode) and turn off customizations and try adding the domain.

I am getting the same behaviour on https://try.discourse.org/.

6 Likes

I noticed this happening a week or two ago; I didn’t have enough time to troubleshoot.

1 Like

This will be fixed by

https://github.com/discourse/discourse/pull/9022

I also added a test as it’s the only component of this kind using {{list-setting}} outside of settings, and was subject to regressions.

Thanks!

8 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.