{% user_can_see course user 'SECURITY_COURSE' as can_see_course %}
{% if can_see_course %}
{% include 'lxp/snippets/course_summary_block.html' with use_description=True %}
{% else %}
{% include 'lxp/snippets/no_access_to_course.html' %}
{% endif %}
{% user_can_see course user 'SECURITY_LIST' as can_see_list %}
{% if can_see_list %}
{% include 'lxp/snippets/modules_and_activities_block.html' %}
{% endif %}