Enable more fine-grained control of enabled override user settings
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3505686. --> Reported by: [scott_euser](https://www.drupal.org/user/3267594) Related to !575 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Enabling user overrides enables a lot of options which may not always be desired. Perhaps e.g. only dark mode selection is desired, or all except control of the toolbar.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ol> <li>Enable overrides from the Gin theme settings</li> <li>All options are given to the user</li> </ol> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ol> <li>Add a secondary field 'Enabled user override options'</li> <li>Default existing sites that have overrides enabled to have all options enabled to maintain status quo</li> </ol> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ol> <li><del>Merge request</del></li> <li><del>Update hook to maintain status quo</del></li> <li><del>Test coverage update</del></li> </ol> <h3 id="summary-ui-changes">User interface changes</h3> <p>Gin settings gets a secondary checkboxes field to control which options are possible to override per user.</p> <p>Gin theme settings:</p> <p><img src="https://www.drupal.org/files/issues/2025-02-11/overrides.png" alt="Screenshot of Gin admin theme settings affected"></p> <p>User override options shown:</p> <p><img src="https://www.drupal.org/files/issues/2025-02-11/user-overrides.png" alt="Screenshot of user overrides screen affect"></p> <h3 id="summary-api-changes">API changes</h3> <p>N/A</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>N/A</p> > Related issue: [Issue #3138529](https://www.drupal.org/node/3138529)
issue