Another distinction is "can" versus "may".
Can is often used instead of may, but technically is about capability. So, if you ask a professor in class "Can I go to the bathroom?" your professor might jokingly say "I hope you CAN but no you may not!".
Can = capability
May = permission