Defining Neo4j Roles

The following properties are applicable to a Neo4j Role object.

Tab

Property

Description

Additional Information

  If Not Exist Specifies that if the role already exists, no exception is thrown, and no action happens  
  Generate Specifies whether a DDL statement is generated for the role during forward engineering  

General

Create Or Replace Specifies that a new role should be created or if a role with the same name exists, it should be replaced  
As Copy Of Specifies an existing role to copy privileges from  
Permission Access Specifies the privilege of the role  

Action

Specifies the privilege type for which access has been assigned  
Resource Specifies the scope of the privilege Scope can be dbms, database, graph, or sub-graph access.
Graph Specifies the graph or database to which the privileges apply  
Segment Specifies the segment in scope of the privilege Scope can be node, labels, relationship types, procedures, functions, or transactions.