summaryrefslogtreecommitdiff
path: root/buildscripts/idl/tests
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-03-04 14:30:11 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-04 20:27:04 +0000
commitf3672960cc89c6f7c6cd50cb18cfd8d8d116e43b (patch)
tree0efc2a3ac07d2b6f3dcf3892bffbdffc9c3cd1e7 /buildscripts/idl/tests
parenta66c6e95cda3a4bdb8a3ab2e5f253c4635a6dd5b (diff)
downloadmongo-f3672960cc89c6f7c6cd50cb18cfd8d8d116e43b.tar.gz
SERVER-63748 extend access check syntax to accept optional agg_stage for privilege definition
Diffstat (limited to 'buildscripts/idl/tests')
-rw-r--r--buildscripts/idl/tests/test_parser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/idl/tests/test_parser.py b/buildscripts/idl/tests/test_parser.py
index 8fc760caf13..677f00a799d 100644
--- a/buildscripts/idl/tests/test_parser.py
+++ b/buildscripts/idl/tests/test_parser.py
@@ -1774,6 +1774,10 @@ class TestParser(testcase.IDLTestcase):
- privilege:
resource_pattern: foo
action_type: foo
+ - privilege:
+ agg_stage: bar
+ resource_pattern: bar
+ action_type: bar
- check: is_authenticated
fields:
foo: bar