{"id":15996420,"url":"https://github.com/maxdemarzi/property-level-permissions","last_synced_at":"2026-04-24T12:07:41.759Z","repository":{"id":66288355,"uuid":"79130681","full_name":"maxdemarzi/property-level-permissions","owner":"maxdemarzi","description":"Cypher Stored Procedures for Property Level Permissions","archived":false,"fork":false,"pushed_at":"2017-11-16T21:49:35.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-20T02:35:36.536Z","etag":null,"topics":["neo4j","neo4j-database","neo4j-procedures","neo4j-server"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxdemarzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-16T15:16:42.000Z","updated_at":"2017-01-26T08:52:10.000Z","dependencies_parsed_at":"2023-03-16T01:01:19.628Z","dependency_job_id":null,"html_url":"https://github.com/maxdemarzi/property-level-permissions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxdemarzi/property-level-permissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdemarzi%2Fproperty-level-permissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdemarzi%2Fproperty-level-permissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdemarzi%2Fproperty-level-permissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdemarzi%2Fproperty-level-permissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxdemarzi","download_url":"https://codeload.github.com/maxdemarzi/property-level-permissions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxdemarzi%2Fproperty-level-permissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32222548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neo4j","neo4j-database","neo4j-procedures","neo4j-server"],"created_at":"2024-10-08T07:42:17.693Z","updated_at":"2026-04-24T12:07:41.729Z","avatar_url":"https://github.com/maxdemarzi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neo_prop_perms\nPOC Property Level Permissions for Neo4j\n\n\nSetup\n---\n\n1. Build it:\n        \n        mvn clean package\n        \n2. Copy jar to  to the plugins/ directory of your Neo4j server.\n        \n        cp target/property-level-permissions-1.0-SNAPSHOT.jar neo4j-enterprise-3.3.0/plugins/.\n        \n3. Configure Neo4j by adding these lines to conf/neo4j.conf:\n        \n        dbms.security.procedures.roles=com.maxdemarzi.connected:secured       \n        dbms.security.procedures.unrestricted=com.maxdemarzi.*\n                \n4. Start Neo4j server.\n\n\n\nInstructions\n----\n\n1. Loggin as neo4j admin user, set your new password if needed.\n\n2. Create the schema:\n\n        CALL com.maxdemarzi.generateSecuritySchema;\n\n3. Create a user with property rights:\n \n        CALL com.maxdemarzi.createUserWithPropertyRights('max', 'swordfish', false);\n                        \n        the parameters are:\n        \n        CALL com.maxdemarzi.createUserWithPropertyRights(username, password, mustChange);\n        \n4. Create some data:\n        \n        CREATE (n1:Person {name:'Tom', age:37})\n        CREATE (n2:Person {name:'Tim', age:38})\n        CREATE (n1)-[:KNOWS]-\u003e(n2);\n        \n5. Give user 'max' access to the name property of n2.\n        \n        MATCH (n2:Person {name:'Tim'})\n        CALL com.maxdemarzi.addUserPermission('max', n2, 'name') \n        YIELD value RETURN value; \n \n6. Using Cypher-shell (in the Neo4j/bin directory) log in as user 'max', password 'swordfish'.        \n        \n7. Try a query:\n        \n        CALL com.maxdemarzi.connected('Person', 'name', 'Tom', 'KNOWS', 2)\n        YIELD value RETURN value;\n        \nYou will not be able to log in via the Browser with the user \"max\", because it requires the Reader role.        ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdemarzi%2Fproperty-level-permissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxdemarzi%2Fproperty-level-permissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxdemarzi%2Fproperty-level-permissions/lists"}