2nd attempt at https://github.com/elastic/elasticsearch/issues/84591

references https://github.com/elastic/elasticsearch/issues/48856#issuecomment-831144741

tldr; the permission structure for the endpoint isn't useful for most users. If users can create runtime fields they should have access to this api, they shouldn't need a specific permission set. 
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/action/SecurityActionMapperTests.java
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */
package org.elasticsearch.xpack.security.action;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeAction;
import org.elasticsearch.action.search.ClearScrollAction;
import org.elasticsearch.action.search.ClearScrollRequest;
import org.elasticsearch.test.ESTestCase;
import java.util.Collections;
import static org.hamcrest.CoreMatchers.equalTo;
public class SecurityActionMapperTests extends ESTestCase {
    public void testThatAllOrdinaryActionsRemainTheSame() {
        SecurityActionMapper securityActionMapper = new SecurityActionMapper();
        StringBuilder actionNameBuilder = new StringBuilder();
        if (randomBoolean()) {
            actionNameBuilder.append("indices:");
            if (randomBoolean()) {
                actionNameBuilder.append("data/");
                actionNameBuilder.append(randomBoolean() ? "read" : "write");
                actionNameBuilder.append("/");
                actionNameBuilder.append(randomAlphaOfLengthBetween(2, 12));
            } else {
                actionNameBuilder.append(randomBoolean() ? "admin" : "monitor");
                actionNameBuilder.append("/");
                actionNameBuilder.append(randomAlphaOfLengthBetween(2, 12));
            }