Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9426

Update language and examples for $redact

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • 0.25

    Description

      Original Description:

      Basing an example of "level" redaction on a field called "level" doesn't seem very smart. A user may be interested in redacting everything beyond a certain level/depth of embedding. This is stupidly misleading. How can you even prune away based on the depth of embedding?

      We can perhaps make this less confusing by changing level to access_level. We should also direct folks to Views as another option for returning only data to which a user has access.

      Attachments

        Activity

          People

            nick.larew@mongodb.com Nicholas Larew
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 10 weeks, 6 days ago