ActionPluginBase missing access check on child action
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3513790. --> Reported by: [michaellander](https://www.drupal.org/user/636494) Related to !522 !1089 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>We need to call the child action plugin's <code>\Drupal\Core\Action\ActionInterface::access</code> method within <code>Drupal\ai\Plugin\AiFunctionCall\ActionPluginBase</code>. </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>The plan right now is to implement this in the <code>execute()</code> method, as it's important we do not hide the existence of the action/functionCall to the provider, but rather alert that they are unable to execute the necessary behavior.</p>
issue