yasuki_core.accounts.roles#

Functions

create_role(conn, name[, description])

Define a new role, returning whether it was created (False if it already existed).

list_roles(conn)

Return every defined role as {name, description}, alphabetically.

role_exists(conn, name)

Whether name is a defined role.