You have to pass a test before you can get a driving licence.
(Essential Grammar in Use)
OALD gives the following meaning for can:
- (1) used to say that it is possible for somebody/something to do something, or for something to happen
- (4) used to show that somebody is allowed to do something
- (10) used to make suggestions
Which one is the meaning of can in the example given by Essential Grammar in Use?