With the help of this feature, Attendees will automatically get assigned permission based on their selection.
All you need to do is, create the appropriate permissions. Click here to learn how to create custom permissions.
Once you have created the permission, all you need to do is set up your registration form. Check out this article to learn how to set up a registration form.
Once your registration form is set, you can now assign permissions to the registration questions.