ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      Hide the reserved _safeContent_ field from Queryable Encryption query results, at the hydration level, instead of on the model.

      Details

      • The server writes _safeContent_ into encrypted documents. It is an implementation detail and should not appear in application results.
      • Filter _safeContent_ when hydrating query results, covering both Eloquent models and raw reads (query builder, DB collection reads, aggregation).
      • The write guard stays: the field cannot be set or unset on a model.
      • This was removed from the Queryable Encryption PR to keep the model layer untouched; this ticket adds the filtering at the results level.

      Related

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Pauline Vos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: