From a42fc8a6ebb6248342cc6af39c4760b2855d8d52 Mon Sep 17 00:00:00 2001 From: Moritz Date: Thu, 8 Jan 2026 23:34:04 +0100 Subject: [PATCH] Fix: Update comment in auto_filter to reflect expr(false) usage Update comment from 'id IN [] = never matches' to 'expr(false) = match none' to match the actual implementation of deny_filter(). --- lib/mv/authorization/checks/has_permission.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mv/authorization/checks/has_permission.ex b/lib/mv/authorization/checks/has_permission.ex index 31c18cb..18ffe5b 100644 --- a/lib/mv/authorization/checks/has_permission.ex +++ b/lib/mv/authorization/checks/has_permission.ex @@ -131,7 +131,7 @@ defmodule Mv.Authorization.Checks.HasPermission do cond do is_nil(actor) -> # No actor - deny access (fail-closed) - # Return filter that never matches (id IN [] = never matches) + # Return filter that never matches (expr(false) = match none) deny_filter() is_nil(action) ->