Class: Parse::Constraint::ACLReadableByExactConstraint

Inherits:
ACLReadableByConstraint show all
Defined in:
lib/parse/query/constraints.rb

Overview

Strict variant of ACLReadableByConstraint: matches ONLY rows whose +_rperm+ literally contains one of the resolved permissions — no implicit public +"*"+ and no missing-+_rperm+ (public-by-absence) rows. Reached via +Query#readable_by(value, strict: true)+ or the +:ACL.readable_by_exact+ symbol operator. Use this for ownership / security audits ("which rows explicitly grant this principal") rather than access simulation ("what can this principal read").

Instance Method Summary collapse

Methods inherited from ACLReadableByConstraint

#build, #readable_by

Instance Method Details

#strict?Boolean

Returns:

  • (Boolean)


2866
2867
2868
# File 'lib/parse/query/constraints.rb', line 2866

def strict?
  true
end