warn user of permalink content not available to him

cf https://github.com/camptocamp/cgxp/pull/893