Chapter 7. Modeling Access Control

In the previous chapters, we designed the database for an application that allows travelers to search for routes, view flights and hotels, check reviews for hotels, comment on reviews, and book flights. When multiple hotel chains operate using the same application (such as the one we are building), it helps if the hotel chains have access to modify the content that they wish to expose to the outside world.

In this chapter, we will explore:

  • Creating access control structures in a graph
  • Using access control structures to query and get selected data

Controlling access for content change

A hotel chain can have multiple hotels in different locations across cities or even countries, and each of these needs to edit its content. ...

Get Neo4j Graph Data Modeling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.