I am learning about photometry to do Physically Based Rendering. As I checked the human eye dynamic range, I was surprised to see it was expressed in terms of luminance ($\mathrm{cd}/\mathrm{m}^2$) : from $10^{-6}\,\mathrm{cd} / \mathrm{m}^2$ to $10^8\, \mathrm{cd}/\mathrm{m}^2$ (see https://en.wikipedia.org/wiki/Human_eye#Dynamic_range, sources 18, 19 and 20).
The reason of my surprise is that, if I understood correctly, luminance of an object is independant of the distance to it. The Sun has a luminance of $10^9\, \mathrm{cd}/\mathrm{m}^2$, so, according to this way of expressing dynamic range, the Sun should blind you from anywhere in the Universe (neglecting extinction).
I was expecting this dynamic range to be expressed in terms of irradiance ($\mathrm{lx} = \mathrm{lm}/\mathrm{m}^2$), as flux per area of retina seems to make more sense to me.
Am I forgetting something ?