pub fn row_condition(
registry: &Registry,
schema: &Schema,
ctx: Option<&Context>,
action: &str,
) -> Option<Value>Expand description
行级条件(grant 间 OR 合并):RBAC 未生效 / 存在无行限制的匹配 grant →
None(不收紧);否则各 grant 行限制取 $or 串接。
action ∈ {“read”, “update”, “remove”}(insert 无行级语义,调用方不传)。