In the Department settings there is this setting and it says:
Ticket Assignment Restrictions: Enable this to restrict ticket assignment to include only members of this Department. Department membership can be extended to Groups, if Alerts & Notices Recipients includes groups members.
I don't understand the sentence "Department membership can be extended to Groups, if Alerts & Notices Recipients includes groups members." Are Groups Teams? And which Alerts and Notices?