Class: Parse::Constraint::ACLReadableByExactConstraint
- Inherits:
-
ACLReadableByConstraint
- Object
- Parse::Constraint
- ACLReadableByConstraint
- Parse::Constraint::ACLReadableByExactConstraint
- 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 Attribute Summary
Attributes inherited from Parse::Constraint
#operand, #operation, #operator, #value
Instance Method Summary collapse
Methods inherited from ACLReadableByConstraint
Methods inherited from Parse::Constraint
#as_json, #build, constraint_keyword, create, formatted_value, #formatted_value, #initialize, #key, #precedence, #regex_unicode_option, register, #to_s
Constructor Details
This class inherits a constructor from Parse::Constraint
Instance Method Details
#strict? ⇒ Boolean
2866 2867 2868 |
# File 'lib/parse/query/constraints.rb', line 2866 def strict? true end |