[SERVER-27578] Write unit tests for each AuthorizationSession::checkAuthForCommand() Created: 04/Jan/17  Updated: 06/Dec/22  Resolved: 13/Jan/17

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Backlog - Query Team (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Participants:

 Description   

In SERVER-27420, we introduced infrastructure to allow unit testing for AuthorizationSession::checkAuthForAggregate(). We should also write unit tests for all of the other "checkAuthForX" methods of AuthorizationSession.



 Comments   
Comment by David Storch [ 13/Jan/17 ]

Closing as Won't Fix, since the Query Team doesn't want to devote time to this right now. Any change to a checkAuthForX() method should now be accompanied with the appropriate unit tests.

Comment by Kyle Suarez [ 04/Jan/17 ]

After an offline conversation with spencer.jackson, we decided that the Query Team should triage this, since it's the query-related commands that tend to have the most complexity for authz, especially commands related to views.

Generated at Thu Feb 08 04:15:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.