There are a number of issues
I would create a group of approved users, and restrict all the course content that you want to people in that group.
See https://docs.moodle.org/36/en/Restrict_access_settings#Group_and_groupings
You could also have an activity that you need to complete for them, so that they see the rest of the course based on that.
Hope that helps,