XWIKI-9126 Show panel only if the user has the view right on the panel page
(cherry picked from commit 93e39fcbb5ef2c71188f5218089811f0bcffb75a)