Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add an indicator to search results if they are restricted #294

Open
ericgibson opened this issue Feb 23, 2018 · 0 comments
Open

How to add an indicator to search results if they are restricted #294

ericgibson opened this issue Feb 23, 2018 · 0 comments

Comments

@ericgibson
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant