(â ) Database privileges
GRANT ACCESS ON DATABASE * TO my_role
Grant privilege to access and run queries against all databases to a role.
GRANT START ON DATABASE * TO my_role
Grant privilege to start all databases to a role.
GRANT STOP ON DATABASE * TO my_role
Grant privilege to stop all databases to a role.
GRANT CREATE INDEX ON DATABASE foo TO my_role
Grant privilege to create indexes on a specified database to a role.
GRANT DROP INDEX ON DATABASE foo TO my_role
Grant privilege to drop indexes on a specified database to a role.
GRANT SHOW INDEX ON DATABASE * TO my_role
Grant privilege to show indexes on all databases to a role.
DENY INDEX MANAGEMENT ON DATABASE bar TO my_role
Deny privilege to create and drop indexes on a specified database to a role.
GRANT CREATE CONSTRAINT ON DATABASE * TO my_role
Grant privilege to create constraints on all databases to a role.
DENY DROP CONSTRAINT ON DATABASE * TO my_role
Deny privilege to drop constraints on all databases to a role.
DENY SHOW CONSTRAINT ON DATABASE foo TO my_role
Deny privilege to show constraints on a specified database to a role.
REVOKE CONSTRAINT ON DATABASE * FROM my_role
Revoke granted and denied privileges to create and drop constraints on all databases from a role.
GRANT CREATE NEW LABELS ON DATABASE * TO my_role
Grant privilege to create new labels on all databases to a role.
DENY CREATE NEW TYPES ON DATABASE foo TO my_role
Deny privilege to create new relationship types on a specified database to a role.
REVOKE GRANT CREATE NEW PROPERTY NAMES ON DATABASE bar FROM my_role
Revoke the grant privilege to create new property names on a specified database from a role.
GRANT NAME MANAGEMENT ON HOME DATABASE TO my_role
Grant privilege to create labels, relationship types, and property names on the home database to a role.
GRANT ALL ON DATABASE baz TO my_role
Grant privilege to access, create and drop indexes and constraints, create new labels, types and property names on a specified database to a role.
GRANT SHOW TRANSACTION (*) ON DATABASE foo TO my_role
Grant privilege to list transactions and queries from all users on a specified database to a role.
DENY TERMINATE TRANSACTION (user1, user2) ON DATABASES * TO my_role
Deny privilege to kill transactions and queries from user1 and user2 on all databases to a role.
REVOKE GRANT TRANSACTION MANAGEMENT ON HOME DATABASE FROM my_role
Revoke the granted privilege to list and kill transactions and queries from all users on the home database from a role.