memgraph/tests/e2e/lba_procedures/workloads.yaml
Boris Taševski a98463b0bd
[E129 < T0996] C-API: Implement using Fine Grained Access Checker in iterator over vertices (#494)
* implemented skipping vertices in Constructor and mgp_vertices_iterator_next

* Added utility function for moving iterator to next permitted vertex

* removed ifdef directive

* NextPermitted parameter type changed from mgp_vertices_iterator* to mgp_vertices_iterator&

* created support for lba-procedures e2e testing; Added test for vertex iterator skipping unauthorized vertices

* removed fixture from tests; converted generator to regular function;
2022-08-12 19:34:47 +02:00

29 lines
892 B
YAML

template_cluster: &template_cluster
cluster:
main:
args: ["--bolt-port", "7687", "--log-level=TRACE"]
log_file: "lba-e2e.log"
setup_queries: [
"Create (:Label1 {id: 1}) ;",
"Create (:Label1 {id: 2}) ;",
"Create (:Label1 {id: 3}) ;",
"Create (:Label1 {id: 4}) ;",
"Create (:Label1 {id: 5}) ;",
"Create (:Label1 {id: 6}) ;",
"Create (:Label2 {id: 1}) ;",
"Create (:Label2 {id: 2}) ;",
"Create (:Label2 {id: 3}) ;",
"Create (:Label2 {id: 4}) ;",
"Create User Josip ;",
"Create User Boris ;",
"Grant Labels :Label1 to Boris;",
]
validation_queries: []
workloads:
- name: "Label-based auth"
binary: "tests/e2e/pytest_runner.sh"
proc: "tests/e2e/lba_procedures/procedures/"
args: ["lba_procedures/lba_procedures.py"]
<<: *template_cluster