merge conflict

This commit is contained in:
Ulf Gebhardt 2023-05-03 12:37:29 +02:00
parent 70cf72a4c1
commit 9b9c0ea8cb
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -8,7 +8,7 @@ import { ROLE_UNAUTHORIZED, ROLE_USER, ROLE_ADMIN } from '@/auth/ROLES'
import { Context } from '@/server/context'
import { LogError } from '@/server/LogError'
const isAuthorized: AuthChecker<Context> = async ({ context }, rights) => {
export const isAuthorized: AuthChecker<Context> = async ({ context }, rights) => {
context.role = ROLE_UNAUTHORIZED // unauthorized user
// is rights an inalienable right?