If you don't have permission to add contacts don't show ways to add contacts
In various places in Civi, you can either search for or add a contact when adding a contribution, participant, activity, etc. This works if you have the add contacts
permission but not if you don't. The error is misleading too.
https://lab.civicrm.org/dev/core/-/blob/master/js/Common.js#L811