memgraph/tests
Boris Taševski 05f120b7d4
[E129-MG < T1004-MG] Expand cypher with more granular label permissions (#500)
* Added enum for more granular access control; Expanded functionality of fine grained access checker; Propagated changes to Edit, Deny and Revoke permissions methods in interpreter

* Introduced Merge method for merging two colle with permissions

* e2e tests implementation started

* Expanded cypher to support fine grained permissions

* ast.lcp::AuthQuery removed labels, added support for label permissions

* promoted label permissions to vector

* removed unnecesary enum value

* expanded glue/auth with LabelPrivilegeToLabelPermission

* added const

* extended Grant Deny and Revoke Privileges with new label privileges

* extended Edit Grant Deny and Revoke Privileges to properly use new model

* Fixed unit tests

* FineGrainedAccessChecker Grant and Deny methods reworked

* Revoke cypher slightly reworked; Revoke for labels works without label permissions

* EditPermission's label_permission lambda now takes two parameters

* constants naming enforced; replaced asterisks with string constant

* removed faulty test addition

* Naming fixes; FineGrainedAccessChecker unit tests introduced

* unnecessary includes removed; minor code improvements

* minor fix

* Access checker reworked; denies and grant merged into single permission object; Created global_permission that applies to all non-created permissions. Grant, Deny and Revoke reworked; Merge method reworked

* Fixed wrong check;

* Fix after merge; renamed constants; removed unused constant

* Fix after merge; workloads.yaml for lbaprocedures e2e tests updated with new grammar

* Fixes after merge

* Fixes after merge

* fixed Revoke that was not fixed after the merge

* updated cypher main visitor tests

* PR review changes; Naming and const fixed, replaced double tertiary with lambda

* unwrapping the iterator fix

* merge 1003 minor fix

* minor spelling fixes

* Introduced visitPrivilegesList because of the doubled code

* const added

* string const to enum

* redundant braces

* added const

* minor code improvement

* e2e tests expanded

* if -> switch

* enum class inherits uint8_t now

* LabelPrililege::EDIT -> LabelPrivilege::UPDATE

* LabelPermission -> EntityPermission; LabelPrivilege -> EntityPrivilege

* EntityPrivilege -> FineGrainedPrivilege; EntityPermission -> FineGrainedPermission
2022-08-22 14:11:43 +02:00
..
benchmark Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
concurrent Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
drivers Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
e2e [E129-MG < T1004-MG] Expand cypher with more granular label permissions (#500) 2022-08-22 14:11:43 +02:00
gql_behave Fix aggregation functions on null and group-by inputs (#448) 2022-07-19 12:16:32 +02:00
integration [E129-MG <-T0982-MG] implement edge type filtering (#489) 2022-08-16 15:57:23 +02:00
jepsen Save replication settings (#415) 2022-07-07 13:30:28 +02:00
macro_benchmark Add memgraph namespace 2022-03-14 15:47:41 +01:00
manual Upgrade Antrl to 4.10.1 and remove antlr_lock (#441) 2022-07-26 08:31:38 +02:00
mgbench Add memgraph namespace 2022-03-14 15:47:41 +01:00
property_based Add memgraph namespace 2022-03-14 15:47:41 +01:00
public_benchmark Resolve python dependency issues (#372) 2022-04-07 17:56:18 +02:00
stress Add parser stress test (#463) 2022-07-26 20:54:56 +02:00
unit [E129-MG < T1004-MG] Expand cypher with more granular label permissions (#500) 2022-08-22 14:11:43 +02:00
.clang-tidy New MGP API (#219) 2021-09-09 10:44:47 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Add end2end replication tests based on mgclient (#69) 2021-01-21 15:56:21 +01:00
setup.sh Update pyyaml version (#305) 2021-11-25 10:12:33 +01:00