Skip to main content
Skip table of contents

Display Pattern: Show Message for Specific Roles

Summary

I want to show a message if a user role has access to a Content Item. This is not possible! I cannot access the user role from Permission Sets on Content Items, I can only access Permission Sets. 

JSON
NOT WORKING, only else will show

{% if userRoleIds == 'a3431095e9cc401ab65197ba12ecfccf' %} Text for the Press
{% else %}For all other users{% endif %}


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.