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.
pub async fn list_for_user(
db: &SqlitePool,
user_id: Uuid,
) -> Result<Vec<GroupView>, Error>List the groups the user belongs to, with their role in each.
Returns Error::Database on query failure.