Make Hiera permissions checks only for Hiera pages

Change-Id: Ib12b2fba55fc6af3eb2982e38bab4729113cb6e0