Create new "power user" flag to disable warnings and validation
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3531327. -->
Reported by: [ultimike](https://www.drupal.org/user/51132)
Related to !20
>>>
<p>Via <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/markdown_easy/-/work_items/3530906" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/markdown_easy/-/work_items/3530906</a></span>, create a `power_user_mode` boolean config variable that is not modifiable via the UI (only by directly modifying config) that does disables all warning related to configuration of the Markdown Easy text filter, including its relationship with "Limit allowed HTML tags."</p>
<p>This would affect validation and messages in:</p>
<ul>
<li><code>_markdown_easy_filter_format_form_submit()</code></li>
<li><code>_markdown_easy_filter_format_edit_form_validate()</code></li>
<li><code>markdown_easy_requirements()</code></li>
</ul>
<p>Test coverage to confirm validation and messages are disabled are necessary.</p>
<p>An addition to the <a href="https://www.drupal.org/docs/extending-drupal/contributed-modules/contributed-module-documentation/markdown-easy/advanced-configuration">"Advanced" documentation page</a> will also be necessary to demonstrate how to enable this new setting.</p>
<p>Other potential variable names are:</p>
<ul>
<li><code>skip_filter_enforcement</code></li>
<li><code>disable-all-warnings</code></li>
</ul>
<p>Personally, I think the variable name should be less-specific in case we want to add (subtract?) additional functionality to it in the future. </p>
issue