mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +00:00
show owner in users table, list roles query in invite form, and more
This commit is contained in:
@@ -37,6 +37,7 @@ async function queryUsers(orgId: string, limit: number, offset: number) {
|
||||
orgId: userOrgs.orgId,
|
||||
roleId: userOrgs.roleId,
|
||||
roleName: roles.name,
|
||||
isOwner: userOrgs.isOwner,
|
||||
})
|
||||
.from(users)
|
||||
.leftJoin(userOrgs, sql`${users.userId} = ${userOrgs.userId}`)
|
||||
|
||||
Reference in New Issue
Block a user