title: Is it possible to hide some fields based on user role in elasticsearch v 5.6.6?
body: <p>I need to hide some fields from any find result in elasticsearch for non-admin users. For example object below exists in elasticsearch database</p>
  
  <pre><code>{
    "name": "John",
    "login": "john",
    "password": "123"
  }
  </code></pre>
  
  <p>And if user login with admin role, he can see field <code>password</code> but if user has role 'simple_user' he can only see</p>
  
  <pre><code>{
    "name": "John",
    "login": "john"
  }
  </code></pre>
  
  <p>Is it possible to make it without x-pack premium licence?</p>