[SERVER-19400] Move the checking for authorization from the pipeline level to the stage level. Created: 14/Jul/15  Updated: 06/Dec/22  Resolved: 22/Aug/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Internal Code
Affects Version/s: 3.1.5
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: James Cohan Assignee: Backlog - Query Team (Inactive)
Resolution: Done Votes: 0
Labels: optimization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-19384 Add checkAuthForStage in DocumentSour... Closed
Assigned Teams:
Query
Sprint: Quint Iteration 7
Participants:

 Description   

Currently Pipeline parses to see if there is an $out stage and if so checks that it has the required authorization on its output collection. Instead, each DocumentSource will check that it has the necessary authorization.



 Comments   
Comment by Charlie Swanson [ 22/Aug/19 ]

We did this! In some other ticket, not sure which.

Generated at Thu Feb 08 03:50:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.