If you search as an authorized (logged-in) user you will get additional records that are restricted to groups you are a member of. I want to add a icon (or something) that indicates the records in the search result that you are seeing because you have elevated permissions. On the catalog/search/results.jsp page, there is an h:outputText with value #{record.title} that will return the title, or you can replace with #{record.uuid}, or record.getEnvelope() or record.getContentType(), etc... but there is no property for the field acl. If I could get record.acl for each returned record then I could use h:outputText render if record.acl is not null or the like.
Does anybody know a way to add an indicator to search results to highlight the records that are restricted?
If you search as an authorized (logged-in) user you will get additional records that are restricted to groups you are a member of. I want to add a icon (or something) that indicates the records in the search result that you are seeing because you have elevated permissions. On the catalog/search/results.jsp page, there is an h:outputText with value #{record.title} that will return the title, or you can replace with #{record.uuid}, or record.getEnvelope() or record.getContentType(), etc... but there is no property for the field acl. If I could get record.acl for each returned record then I could use h:outputText render if record.acl is not null or the like.
Does anybody know a way to add an indicator to search results to highlight the records that are restricted?
ideas?