box.schema.role.create()
-
box.schema.role.create(role-name[, {options}])¶ Create a role. For explanation of how Tarantool maintains role data, see section Roles.
Parameters: - role-name (
string) – name of role, which should conform to the rules for object names - options (
table) –if_not_exists=true|false(default =false) - boolean;truemeans there should be no error if the role already exists
Return: nil
Example:
box.schema.role.create('books_space_manager') box.schema.role.create('writers_space_reader')
See also: Managing roles.
- role-name (