This fixes bucket span estimation for the machine learning admin user when security is enabled. The original issue was that the machine learning admin by default doesn't have the necessary permissions to call cluster.getSettings to get the settings search.max_buckets. This is now fixed by using callWithInternalUser() and additional permissions checks. |
||
---|---|---|
.. | ||
__tests__ | ||
check_license | ||
query_utils.js | ||
security_utils.js |