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().
This commit is contained in:
parent
c95a6fac69
commit
dc3268cbf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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) ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue