Cabinets ACL - Documents still accessible

The condition above, underlined in red, is not working. Instead I used the following:

{% for cabinet in workflow_instance.document.cabinets.all %}{% if cabinet.label == "Projekt1" %}True{% endif %}{% endfor %}

Seems a bit like putting the cart before the horse but it works :horse: