feat: whitelist for user visibility

This commit is contained in:
imperosol committed 2026-03-23 23:03:53 +01:00
1 parent ffa0b94408
commit 3d7f57b8da
8 files changed
+88 -26

No files matched your search

@@ -146,7 +146,7 @@
<label for="{{ input_id }}">
{%- endif %}
<figure>
{%- if user.is_viewable %}
{%- if user.can_view(candidature.user) %}
{% if candidature.user.profile_pict %}
<img class="candidate__picture" src="{{ candidature.user.profile_pict.get_download_url() }}" alt="{% trans %}Profile{% endtrans %}">
{% else %}