getAllGroups() %}
                {% set elementOptions = [{ value: group.uid, label: group.name | e }] | merge(elementOptions) %}
            {% endfor %}
        {% elseif element == 'craft\\elements\\Asset' %}
            {% for group in craft.app.volumes.getAllVolumes() %}
                {% set elementOptions = [{ value: group.uid, label: group.name | e }] | merge(elementOptions) %}
            {% endfor %}
        {% elseif element == 'craft\\elements\\User' %}
            {% if CraftEdition != CraftS