Access control lists (ACLs)
The ACLs used to control access in DMS are:-
dataModelInstances: controls access to instances (nodes and edges.)READ: allows reading instances.WRITE: allows reading, creating, modifying, and deleting instances.WRITE_PROPERTIES: allows writing properties without allowing creation/deletion of instances.
-
dataModels: controls access to schemas (spaces, containers, views, and data models.)READ: allows reading schemas.WRITE: allows reading, creating, modifying, and deleting schemas.
all: grants access to all resources in all spacesspace: grants access to resources in the specified spaces
- Read instances in all spaces.
- Modify/delete instances in
space1. - Write properties to instances in
space2using views/containers you have read access to. - Read and modify schemas in all spaces.
Read instances through a view
To read instances through a view, you need read access to the view’s space. You do not need access to the spaces of the containers that the view maps. View filters do not restrict access: you can read the same instances through any other view you have access to. To separate data between users, use separate instance spaces.Autocreate instances
You can only autocreate instances in spaces you have write access to. Even if you setautoCreateDirectRelations to true when ingesting, the nodes in the spaces you only have read access to must already exist.