The "Edit Access" configuration option can be used to assign the default role for a user creating a dataset within a dataverse:

It would be preferable if this could be configured by API, and support more than two hard-coded roles (Contributor and Curator).