Request Details

SELECT * FROM audit WHERE audit.target = :sender with target: Option<Identity> fails at publish:
failed to create row-level security … Unexpected type: (expected) (__identity__: U256) != (some: … | none: ()).
Nullable owner/target columns are common (system-created rows). Matching Some(sender) would remove the need for
zero-identity sentinels.

  1. website-features added the feature-request label Oct 9, 2026

Reopen this request?

The request will return to its prior live status.

Mark as Duplicate

Pick the request that Feature: allow `:sender` against `Option<Identity>` columns in RLS is a duplicate of. Energy rolls up into that request and GitHub closes the linked issue as a duplicate with a timeline reference to the canonical.

Unmark Duplicate

Restore as an independent request. The linked GitHub issue will be reopened and its duplicate-of relationship cleared. The original timeline entries stay as history; the note below is posted as a follow-up comment.