hide optional permission fields for document [#84135968]