Global Parameters Permission

Hello.

This is a continuation of this thread: Permission setting per user

Thank you, @ruenel and others for your input.

However, it does not solve my issue.

I need to set permissions for “Global Parameters” (and preferably also all other Parameters) - this is not elements based but Parameters based.

It seems to be the best way to resolve this is but my original message of being able set Cornerstone permissions to include by user, not just by user level.

I need to be able to set different access level for Parameters for different users who are all Administrators.

Please advice and much appreciated - thank you.

Hey @sprod,

Regretfully, the permissions of the Global Parameters that you are looking for are not possible. You can try to use Twig like the example below:

{% if user %}
    {# This parameter is only shown to logged-in users #}
    

    {# Check for specific usernames #}
    {% if user.name == 'johnp' or user.name == 'martha' %}
        {# Special parameters for johnp and martha #}
        


    {% else %}
        {# Regular parameters for other logged-in users #}
        


    {% endif %}
    
{% else %}
    {# These parameters to visitors who are not logged in #}
    


{% endif %}

This may not work out of the box and it is a long shot.

Thanks.