Docs for security features in 5.4 - `has_privileges` API - ldap metadata. Original commit: elastic/x-pack-elasticsearch@22c733c814