-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Fully Compatible
-
Integration 2016-08-29, Integration 2016-09-19
The views_authz.js tests should be merged into the auth commands library and the file removed. However, it's currently not possible because jstests/auth/commands_builtin_roles.js runs tests with subsets of the privileges specified in individual testcases, and the views authz special cases require an exact match. We should add an expectAuthzFailExact flag for an individual testcase and update the test runner appropriately.
In addition, once SERVER-24769 is complete, we can expand our authz test coverage by testing a successful $lookup/$graphLookup (directly and via $facet) on a series of views for which the user is authorized.
- depends on
-
SERVER-24724 Views works with authorization
- Closed
-
SERVER-24769 Support $lookup and $graphLookup with the 'from' field as a view
- Closed
- related to
-
SERVER-25983 Add views getMore/killCursors authz tests to auth commands lib
- Closed