-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
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
-
0.25
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.