🚧 add device approval in the roles page

This commit is contained in:
Fred KISSIE
2026-01-06 01:51:33 +01:00
parent 1f80845a7a
commit cb21cab117
5 changed files with 88 additions and 23 deletions

View File

@@ -36,7 +36,8 @@ async function queryRoles(orgId: string, limit: number, offset: number) {
isAdmin: roles.isAdmin,
name: roles.name,
description: roles.description,
orgName: orgs.name
orgName: orgs.name,
requireDeviceApproval: roles.requireDeviceApproval
})
.from(roles)
.leftJoin(orgs, eq(roles.orgId, orgs.orgId))