Grant Role Syntax¶
GRANT ROLE <role_type> ON <space> TO <user>
GRANT statement assigns role to Nebula Graph user account. To use
GRANT, you must have the
Currently, there are five roles in Nebula Graph:
Normally, first use
CREATE USER to create an account then use
GRANT to define its privileges (assume you have the
GRANT privilege). Each role and user account to be granted must exist, or errors will occur.
<space> clause must be specified as an existed graph space or an error will occur.