An admin may create and delete new roles with these commands:
CALL dbms.security.createRole('newRoleName')CALL dbms.security.deleteRole('newRoleName')
These roles are to be used on custom procedures (see Chapter 06, Extending Cypher.) with the @Procedure annotation, as follows:
You may have noticed a roles column in the result of the command:
This command is available for all users, starting with the reader role.