BibDocFile: display "Restricted" label correctly

* Displays the "Restricted" label only when the given file
  is restricted to the guest user.  (closes #1299)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>