Role to view both aggregate and user data

I have a use case which requires a user to be able to see their own documents and compare with trends in aggregate data of competitors documents.
I can that I can configure X-pack to enable a user to see only their own documents, but I cannot see how i can configure a role to enable them to see aggregate data across all documents without letting them see their individual competitor documents. Is this possible with X-pack?
At present i am in POC stage, so we are free to setup indexes and field structure pretty much the way we want to achieve this objective.
Thanks!

Unfortunately, this isn’t something that is currently supported with X-Pack security.

OK thanks anyway Lukas, I guess we can find a work around maybe creating an

aggregated data index, but of course that takes away part of the joy of

elasticsearch!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.