Action [indices:admin/auto_create] is unauthorized for user

I'm trying to make _sql request and get:

action [indices:admin/auto_create] is unauthorized for user [some_user] with roles [some_role], this action is granted by the index privileges [auto_configure,create_index,manage,all]

It is completely ok from Dev Tools.

Role's privileges:

{'global': [ ], 'indices': [{'names': [''], 'privileges': ['all'], 'allow_restricted_indices': True}], 'applications': [{'application': '', 'privileges': [''], 'resources': ['']}], 'run_as': ['*']}

How to fix this?
Thank you in advance.