Skip to main content

list_for_user

Function list_for_user 

Source
pub async fn list_for_user(
    db: &SqlitePool,
    user_id: Uuid,
) -> Result<Vec<GroupView>, Error>
Expand description

List the groups the user belongs to, with their role in each.

ยงErrors

Returns Error::Database on query failure.