[SERVER-25983] Add views getMore/killCursors authz tests to auth commands lib Created: 06/Sep/16  Updated: 06/Dec/22  Resolved: 26/Jan/17

Status: Closed
Project: Core Server
Component/s: Querying, 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: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-25526 Merge views_authz.js into auth comman... Closed
Assigned Teams:
Query
Backwards Compatibility: Fully Compatible
Participants:

 Description   

With SERVER-25526 complete, all of the views authorization tests for the create and collMod commands in jstests/auth/views_authz.js have also been added to the auth commands lib for additional coverage. The same should also be done for the getMore and killCursors commands.

Per a conversation with andreas.nilsson, we should also err on the side of duplicate testing and keep jstests/auth/views_authz.js around for the 3.4 dev cycle to ensure that no coverage is lost.



 Comments   
Comment by Ian Whalen (Inactive) [ 26/Jan/17 ]

Closing given the additional coverage added via unit tests in SERVER-27420

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