Ensure that provisioning trial access is possible
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3566382. --> Reported by: [mxr576](https://www.drupal.org/user/315522) Related to !7 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_provider_amazeeio/issues/3566117" title="Status: Closed (fixed)">#3566117: Anonymous free trial on module install</a></span> introduced at the module level a possibility to automatically provision trial access to Amazee AI when the module is enabled. However, that does not work when the module is installed via a recipe <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_provider_amazeeio/issues/3566117" title="Status: Closed (fixed)">#3566117: Anonymous free trial on module install</a></span> and that works as designed. </p> <p>This issue exists to make sure that this capability is going to be available even when the module is installed via this recipe then provisioning trial access is still possible somehow. </p> <p>Current ideas:<br> <del>1. <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_provider_amazeeio/issues/3566117" title="Status: Closed (fixed)">#3566117: Anonymous free trial on module install</a></span> - module level solution does not require a change, it would be opaque for this recipe and any other recipe</del><br> 2. <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai_provider_amazeeio/issues/3566345" title="Status: Closed (fixed)">#3566345: Create a config action for provisioning trial access</a></span> - would require change in this recipe after the module introduced this new config action.<br> <del>3. ???</del></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>* Leverage the newly introduced <code>ensureAmazeeAiAccess</code> config action<br> * Make sure that recipe tests DO NOT provision trial access!!!<br> * Update module dependency to &gt;= 1.2.3 (release the module version first)</p> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3> > Related issue: [Issue #3566345](https://www.drupal.org/node/3566345) > Related issue: [Issue #3566609](https://www.drupal.org/node/3566609) > Related issue: [Issue #3556309](https://www.drupal.org/node/3556309)
issue