title: Opendistro elasticsearch, no permissions for [ ] and User [name=admin, roles=[admin]
body: <p>I try to run this command on elasticsearch server but i get error for permission.</p>
  
  <p>I use opendistro for elasticsearch </p>
  
  <pre><code>curl -XPUT 'localhost:9200/_settings' -H 'Content-Type: application/json' -H 'securitytenant: Private' -u admin --insecure -d '{
  "index" : {
      "number_of_replicas" : 0
      }
  }'
  </code></pre>
  
  <blockquote>
    <p>{“error”:{“root_cause”:[{“type”:“security_exception”,“reason”:“no
    permissions for [ ] and User [name=admin, roles=[admin],
    requestedTenant=Private]”}],“type”:“security_exception”,“reason”:“no
    permissions for [ ] and User [name=admin, roles=[admin],
    requestedTenant=Private]”},“status”:403}</p>
  </blockquote>
  
  <p>I tried also with out securitytenant but with the same error permission.</p>
  
  <p>Other command's they run with success.</p>