sprint_6
sprint_6

Reputation: 81

Neo4j granular data access control

I'm currently working with a neo4j graph that looks something like this: enter image description here

I want to data access controls so that different users only have access to certain subgraphs. For example, User A will only have read access to Category node <18 and the nodes that are downstream of that node: enter image description here

User B will only have read access to Category node 18-25 AND category node 25-35 and its downstream nodes. enter image description here

Is it possible to create cypher queries that will be this granular? From Neo4j documentation, to me it looks like I can get set read access at the node label level and not specific nodes within a given label.

Upvotes: 0

Views: 170

Answers (1)

Graphileon
Graphileon

Reputation: 5385

Yes it is definitely possible to define queries like that. If you want to do this at application level, you could also use an approach as illustrated here : https://youtu.be/HsTTjpc9xks

Disclosure : I work for Graphileon.

Upvotes: 1

Related Questions