I am testing community version of searchguard5. I have setup permissions and visualizations as below:
UserA has permission only for index=data-full-*
UserB has permission only index=data-partial-*
Now I have created generic visualizations with index-pattern=data-*.
Now I am trying access data using UserA but no data is being displayed but showing error userA doesn’t have access. This is because UserA doesn’t have permission for data-partial*
Similarly UserB also doesn’t see any data as he doen’t have access to data-full*
Is there any way to access all permissioned data with generic index data-* instead throwing error and not displaying content at all?
Any other solution please?
[meanwhile I am trying another way now :
have only one index=data-*
create alias data-alias1-* which is filtered alias
now I will give permissions userA to index and userb to alias. Now sure if this work if anyone explore in this space. Thanks for your help in advance. ]