Where can I choose roles that can assign tasks?

Go to Admin Setup

Go to Organization

Click on General Settings

Find the setting titled “Task Assigners”

Choose the applicable options from All Users and Specific Roles

If you choose ‘Specific Roles’, select roles from the dropdown list that appears.

Click Save on the bottom of the page