memgraph/tests/e2e
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
..
fine_grained_access [E129-MG < T1004-MG] Expand cypher with more granular label permissions (#500) 2022-08-22 14:11:43 +02:00
isolation_levels Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
lba_procedures [E129-MG < T1004-MG] Expand cypher with more granular label permissions (#500) 2022-08-22 14:11:43 +02:00
magic_functions Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
memory Add memgraph namespace 2022-03-14 15:47:41 +01:00
module_file_manager Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
monitoring_server Save replication settings (#415) 2022-07-07 13:30:28 +02:00
replication Avoid usage of time.sleep (#434) 2022-07-08 10:47:18 +02:00
server Save replication settings (#415) 2022-07-07 13:30:28 +02:00
streams Avoid usage of time.sleep (#434) 2022-07-08 10:47:18 +02:00
temporal_types Add memgraph namespace 2022-03-14 15:47:41 +01:00
triggers Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
write_procedures [E129-MG < T1003-MG] Expand fine grained access checker with more granular permissions (#496) 2022-08-18 16:59:38 +02:00
.gitignore Add end2end replication tests based on mgclient (#69) 2021-01-21 15:56:21 +01:00
CMakeLists.txt [E129-MG <-T0982-MG] implement edge type filtering (#489) 2022-08-16 15:57:23 +02:00
interactive_mg_runner.py Save replication settings (#415) 2022-07-07 13:30:28 +02:00
memgraph-selfsigned.crt Fix shutdown call (#395) 2022-05-18 07:50:06 +02:00
memgraph-selfsigned.key Fix shutdown call (#395) 2022-05-18 07:50:06 +02:00
memgraph.py Save replication settings (#415) 2022-07-07 13:30:28 +02:00
mg_utils.py Avoid usage of time.sleep (#434) 2022-07-08 10:47:18 +02:00
pytest_runner.sh Python wrapper for write procedures (#234) 2021-10-02 13:17:41 +02:00
runner.py Registering a replica with timeout 0 should not be allowed (#414) 2022-06-29 11:14:23 +03:00