Indices:data/read/esq privilege usage

I’m trying to play with ES|QL and getting very inconsistent results.

In the log, I’m seeing Required Privileges: [indices:data/read/esql] Status: INSUFFICIENT in the logs

To have a quick look, I download the latest code from git and search the code and searched for this privilege in the logs and found only one occurrence, in the file security/src/main/resources/static_config/static_roles.yml.

Is that privilege correctly tested ?