That is not true. "Open source" specifically implies certain rights beyond simply allowing people to view the source code (which is known as "shared source").
Many companies like Microsoft allow people to view the source code to their closed-source products under restrictive licenses, but nobody would claim that these products are "open source" as a result.
"Open" doesn't just mean "viewable."