ElasticsearchSecurityException[no permissions for indices:data/read/get]

I have successfully installed searchguard,But when I connect to ES with TransportClient,an exception has been encountered.
The exception is :

ElasticsearchSecurityException[no permissions for indices:data/read/get]


I saw an article that mentioned the problem, but it’s not clear. I can’t read it. The link is: https://floragunn.com/searchguard-elasicsearch-transport-clients/

Please let me know if I had missed any thing while configuration.

Thanks,

Lei