2023-08-30 19:42:11 +08:00
|
|
|
args: &args
|
|
|
|
- "--bolt-port"
|
|
|
|
- "7687"
|
|
|
|
- "--log-level=TRACE"
|
|
|
|
|
|
|
|
create_delete_filtering_setup_queries: &create_delete_filtering_setup_queries
|
|
|
|
- "CREATE USER admin IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user IDENTIFIED BY 'test';"
|
|
|
|
- "GRANT ALL PRIVILEGES TO admin;"
|
|
|
|
- "GRANT DATABASE * TO admin;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user;"
|
|
|
|
- "GRANT DATABASE * TO user;"
|
|
|
|
|
|
|
|
edge_type_filtering_setup_queries: &edge_type_filtering_setup_queries
|
|
|
|
- "CREATE USER admin IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user IDENTIFIED BY 'test';"
|
|
|
|
- "GRANT ALL PRIVILEGES TO admin;"
|
|
|
|
- "GRANT DATABASE * TO admin;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user;"
|
|
|
|
- "GRANT DATABASE * TO user;"
|
|
|
|
- "GRANT CREATE_DELETE ON LABELS * TO admin;"
|
|
|
|
- "GRANT CREATE_DELETE ON EDGE_TYPES * TO admin;"
|
|
|
|
- "MERGE (l1:label1 {name: 'test1'});"
|
|
|
|
- "MERGE (l2:label2 {name: 'test2'});"
|
|
|
|
- "MATCH (l1:label1),(l2:label2) WHERE l1.name = 'test1' AND l2.name = 'test2' CREATE (l1)-[r:edgeType1]->(l2);"
|
|
|
|
- "MERGE (l3:label3 {name: 'test3'});"
|
|
|
|
- "MATCH (l1:label1),(l3:label3) WHERE l1.name = 'test1' AND l3.name = 'test3' CREATE (l1)-[r:edgeType2]->(l3);"
|
|
|
|
- "MERGE (mix:label3:label1 {name: 'test4'});"
|
|
|
|
- "MATCH (l1:label1),(mix:label3) WHERE l1.name = 'test1' AND mix.name = 'test4' CREATE (l1)-[r:edgeType2]->(mix);"
|
|
|
|
- "CREATE DATABASE clean;"
|
|
|
|
- "USE DATABASE clean"
|
|
|
|
- "MATCH (n) DETACH DELETE n;"
|
|
|
|
- "MERGE (l1:label1 {name: 'test1'});"
|
|
|
|
- "MERGE (l2:label2 {name: 'test2'});"
|
|
|
|
- "MATCH (l1:label1),(l2:label2) WHERE l1.name = 'test1' AND l2.name = 'test2' CREATE (l1)-[r:edgeType1]->(l2);"
|
|
|
|
- "MERGE (l3:label3 {name: 'test3'});"
|
|
|
|
- "MATCH (l1:label1),(l3:label3) WHERE l1.name = 'test1' AND l3.name = 'test3' CREATE (l1)-[r:edgeType2]->(l3);"
|
|
|
|
- "MERGE (mix:label3:label1 {name: 'test4'});"
|
|
|
|
- "MATCH (l1:label1),(mix:label3) WHERE l1.name = 'test1' AND mix.name = 'test4' CREATE (l1)-[r:edgeType2]->(mix);"
|
|
|
|
- "USE DATABASE memgraph"
|
|
|
|
|
|
|
|
path_filtering_setup_queries: &path_filtering_setup_queries
|
|
|
|
- "CREATE USER admin IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user IDENTIFIED BY 'test';"
|
|
|
|
- "GRANT ALL PRIVILEGES TO admin;"
|
|
|
|
- "GRANT DATABASE * TO admin;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user;"
|
|
|
|
- "GRANT DATABASE * TO user;"
|
|
|
|
- "MERGE (a:label0 {id: 0}) MERGE (b:label1 {id: 1}) CREATE (a)-[:edge_type_1 {weight: 6}]->(b);"
|
|
|
|
- "MERGE (a:label0 {id: 0}) MERGE (b:label2 {id: 2}) CREATE (a)-[:edge_type_1 {weight: 14}]->(b);"
|
|
|
|
- "MERGE (a:label1 {id: 1}) MERGE (b:label2 {id: 2}) CREATE (a)-[:edge_type_2 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label2 {id: 2}) MERGE (b:label3 {id: 4}) CREATE (a)-[:edge_type_2 {weight: 10}]->(b);"
|
|
|
|
- "MERGE (a:label1 {id: 1}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_3 {weight: 5}]->(b);"
|
|
|
|
- "MERGE (a:label2 {id: 2}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_3 {weight: 7}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 3}) MERGE (b:label3 {id: 4}) CREATE (a)-[:edge_type_4 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 4}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_4 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 3}) MERGE (b:label4 {id: 5}) CREATE (a)-[:edge_type_4 {weight: 14}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 4}) MERGE (b:label4 {id: 5}) CREATE (a)-[:edge_type_4 {weight: 8}]->(b);"
|
|
|
|
- "CREATE DATABASE clean;"
|
|
|
|
- "USE DATABASE clean"
|
|
|
|
- "MATCH (n) DETACH DELETE n;"
|
|
|
|
- "MERGE (a:label0 {id: 0}) MERGE (b:label1 {id: 1}) CREATE (a)-[:edge_type_1 {weight: 6}]->(b);"
|
|
|
|
- "MERGE (a:label0 {id: 0}) MERGE (b:label2 {id: 2}) CREATE (a)-[:edge_type_1 {weight: 14}]->(b);"
|
|
|
|
- "MERGE (a:label1 {id: 1}) MERGE (b:label2 {id: 2}) CREATE (a)-[:edge_type_2 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label2 {id: 2}) MERGE (b:label3 {id: 4}) CREATE (a)-[:edge_type_2 {weight: 10}]->(b);"
|
|
|
|
- "MERGE (a:label1 {id: 1}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_3 {weight: 5}]->(b);"
|
|
|
|
- "MERGE (a:label2 {id: 2}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_3 {weight: 7}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 3}) MERGE (b:label3 {id: 4}) CREATE (a)-[:edge_type_4 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 4}) MERGE (b:label3 {id: 3}) CREATE (a)-[:edge_type_4 {weight: 1}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 3}) MERGE (b:label4 {id: 5}) CREATE (a)-[:edge_type_4 {weight: 14}]->(b);"
|
|
|
|
- "MERGE (a:label3 {id: 4}) MERGE (b:label4 {id: 5}) CREATE (a)-[:edge_type_4 {weight: 8}]->(b);"
|
|
|
|
- "USE DATABASE memgraph"
|
|
|
|
|
|
|
|
show_databases_w_user_setup_queries: &show_databases_w_user_setup_queries
|
|
|
|
- "CREATE USER admin IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user2 IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE USER user3 IDENTIFIED BY 'test';"
|
|
|
|
- "CREATE DATABASE db1;"
|
|
|
|
- "CREATE DATABASE db2;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO admin;"
|
|
|
|
- "GRANT DATABASE * TO admin;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user;"
|
|
|
|
- "GRANT DATABASE db1 TO user;"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user2;"
|
|
|
|
- "GRANT DATABASE db2 TO user2;"
|
|
|
|
- "REVOKE DATABASE memgraph FROM user2;"
|
|
|
|
- "SET MAIN DATABASE db2 FOR user2"
|
|
|
|
- "GRANT ALL PRIVILEGES TO user3;"
|
|
|
|
- "GRANT DATABASE * TO user3;"
|
|
|
|
- "REVOKE DATABASE memgraph FROM user3;"
|
|
|
|
- "SET MAIN DATABASE db1 FOR user3"
|
|
|
|
|
|
|
|
create_delete_filtering_in_memory_cluster: &create_delete_filtering_in_memory_cluster
|
2022-09-02 23:12:07 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args
|
2022-09-02 23:12:07 +08:00
|
|
|
log_file: "fine_grained_access.log"
|
2023-08-30 19:42:11 +08:00
|
|
|
setup_queries: *create_delete_filtering_setup_queries
|
|
|
|
validation_queries: []
|
|
|
|
|
|
|
|
create_delete_filtering_disk_cluster: &create_delete_filtering_disk_cluster
|
|
|
|
cluster:
|
|
|
|
main:
|
|
|
|
args: *args
|
|
|
|
log_file: "disk_fine_grained_access.log"
|
2022-09-02 23:12:07 +08:00
|
|
|
setup_queries:
|
2023-08-30 19:42:11 +08:00
|
|
|
- "STORAGE MODE ON_DISK_TRANSACTIONAL"
|
|
|
|
- *create_delete_filtering_setup_queries
|
|
|
|
validation_queries: []
|
|
|
|
|
|
|
|
edge_type_filtering_in_memory_cluster: &edge_type_filtering_in_memory_cluster
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
log_file: "fine_grained_access.log"
|
2023-08-30 19:42:11 +08:00
|
|
|
setup_queries: *edge_type_filtering_setup_queries
|
|
|
|
validation_queries: []
|
|
|
|
|
|
|
|
edge_type_filtering_disk_cluster: &edge_type_filtering_disk_cluster
|
|
|
|
cluster:
|
|
|
|
main:
|
|
|
|
args: *args
|
|
|
|
log_file: "disk_fine_grained_access.log"
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
setup_queries:
|
2023-08-30 19:42:11 +08:00
|
|
|
- "STORAGE MODE ON_DISK_TRANSACTIONAL"
|
|
|
|
- *edge_type_filtering_setup_queries
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
validation_queries: []
|
|
|
|
|
2023-08-30 19:42:11 +08:00
|
|
|
path_filtering_in_memory_cluster: &path_filtering_in_memory_cluster
|
2022-09-02 23:12:07 +08:00
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args
|
2022-09-02 23:12:07 +08:00
|
|
|
log_file: "fine_grained_access.log"
|
2023-08-30 19:42:11 +08:00
|
|
|
setup_queries: *path_filtering_setup_queries
|
|
|
|
|
|
|
|
path_filtering_disk_cluster: &path_filtering_disk_cluster
|
|
|
|
cluster:
|
|
|
|
main:
|
|
|
|
args: *args
|
|
|
|
log_file: "disk_fine_grained_access.log"
|
2022-09-02 23:12:07 +08:00
|
|
|
setup_queries:
|
2023-08-30 19:42:11 +08:00
|
|
|
- "STORAGE MODE ON_DISK_TRANSACTIONAL"
|
|
|
|
- *path_filtering_setup_queries
|
2023-08-02 00:49:11 +08:00
|
|
|
|
|
|
|
show_databases_w_user: &show_databases_w_user
|
|
|
|
cluster:
|
|
|
|
main:
|
2023-08-30 19:42:11 +08:00
|
|
|
args: *args
|
2023-08-02 00:49:11 +08:00
|
|
|
log_file: "fine_grained_access.log"
|
2023-08-30 19:42:11 +08:00
|
|
|
setup_queries: *show_databases_w_user_setup_queries
|
2022-09-02 23:12:07 +08:00
|
|
|
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
workloads:
|
2022-09-02 23:12:07 +08:00
|
|
|
- name: "Create delete filtering"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/create_delete_filtering_tests.py"]
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *create_delete_filtering_in_memory_cluster
|
|
|
|
|
|
|
|
- name: "Create delete filtering on disk"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/create_delete_filtering_tests.py"]
|
|
|
|
<<: *create_delete_filtering_disk_cluster
|
|
|
|
|
2022-09-02 23:12:07 +08:00
|
|
|
- name: "EdgeType filtering"
|
[E129-MG <-T0982-MG] implement edge type filtering (#489)
* GRANT, REVOKE, DENY and access_checker DONE
* Added AccessChecker to ExecutionContext
* grammar expanded; (#462)
* current
* T0954 mg expand user and role to hold permissions on labels (#465)
* added FineGrainedAccessPermissions class to model
* expanded user and role with fine grained access permissions
* fixed grammar
* [E129 < T0953-MG] GRANT, DENY, REVOKE added in interpreter and mainVisitor (#464)
* GRANT, DENY, REVOKE added in interpreter and mainVisitor
* Commented labelPermissons
* remove labelsPermission adding
* Fixed
* Removed extra lambda
* fixed
* [E129<-T0955-MG] Expand ExecutionContext with label related information (#467)
* added
* Added FineGrainedAccessChecker to Context
* fixed
* Added filtering
* testing
* Added edge filtering to storage, need to add filtering in simple Expand in operator.cpp
* Removed storage changes
* MATCH filtering working
* EdgeTypeFiltering working, just need to test everything again
* Removed FineGrainedAccessChecker
* Removed Expand Path
* Fix
* Tested FineGrainedAccessHandler, need to test AuthChecker
* Added integration test for lba
* Fixed merge conflicts
* PR fix
* fixed
* PR fix
* Fix test
* removed .vscode, .cache, .githooks
* githooks
* added tests
* fixed build
* Changed ast.lcp and User pointer to value in context.hpp
* Fixed test
* Remove denies on grant all
* AuthChecker
* Pr fix, auth_checker still not fixed
* Create mg-glue and extract UserBasedAuthChecker from AuthChecker
* Build fixed, need to fix test
* e2e tests
* e2e test working
* Added unit test, e2e and FineGrainedChecker
* Mege E129, auth_checker tests
* Fixed test
* e2e fix
Co-authored-by: Boris Taševski <36607228+BorisTasevski@users.noreply.github.com>
Co-authored-by: josipmrden <josip.mrden@external-basf.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@memgraph.io>
2022-08-16 21:57:23 +08:00
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/edge_type_filtering_tests.py"]
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *edge_type_filtering_in_memory_cluster
|
|
|
|
|
|
|
|
- name: "EdgeType filtering on disk"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/edge_type_filtering_tests.py"]
|
|
|
|
<<: *edge_type_filtering_disk_cluster
|
|
|
|
|
2022-09-02 23:12:07 +08:00
|
|
|
- name: "Path filtering"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/path_filtering_tests.py"]
|
2023-08-30 19:42:11 +08:00
|
|
|
<<: *path_filtering_in_memory_cluster
|
|
|
|
|
2023-08-02 00:49:11 +08:00
|
|
|
- name: "Show databases with users"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/show_db.py"]
|
|
|
|
<<: *show_databases_w_user
|
2023-08-30 19:42:11 +08:00
|
|
|
|
|
|
|
- name: "Path filtering on disk"
|
|
|
|
binary: "tests/e2e/pytest_runner.sh"
|
|
|
|
args: ["fine_grained_access/path_filtering_tests.py"]
|
|
|
|
<<: *path_filtering_disk_cluster
|