[DOCS-9426] Update language and examples for $redact Created: 01/Dec/16  Updated: 04/Jan/23  Resolved: 14/Nov/22

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Nicholas Larew
Resolution: Done Votes: 0
Labels: bite-sized, collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/operator/aggregation/redact/
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Screen Resolution: 1920 x 1200


Participants:
Days since reply: 7 years, 10 weeks, 6 days ago
Story Points: 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.


Generated at Thu Feb 08 07:58:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.