Feat/um 114 roles and permissions (#1683)

* Auth checkpoint.

* Merge branch 'dev' into feat/um-114-roles-and-permissions
This commit is contained in:
Brian Cao
2022-12-01 20:53:37 -08:00
committed by GitHub
parent a4e80ca3e5
commit 06bebadbb9
27 changed files with 331 additions and 482 deletions

View File

@@ -36,9 +36,7 @@ export async function getUser(
id: true,
username: true,
userRole: {
include: {
role: true,
},
select: { role: true },
},
password: includePassword,
},