You need to include them in a group that has the "can log in" global permission.
I suspect you've run into the "default settings problem". The default in Confluence (and similarly in JIRA for that matter) is to have a group called confluence-users. This group has "can log in", which is absolutely fine, but then the (bad) design is to use that group generally to allow access to spaces as well, as a default.
This means you have three options
Note that however you do this, you will need to add the user to the "see space" permissions.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs