feat(#1): Add permission and role model
This commit is contained in:
2
legalconsenthub/types/auth.d.ts
vendored
2
legalconsenthub/types/auth.d.ts
vendored
@@ -3,11 +3,13 @@ declare module '#auth-utils' {
|
||||
keycloakId: string
|
||||
name: string
|
||||
organizations: Organization[]
|
||||
roles: string[]
|
||||
}
|
||||
|
||||
interface UserSession {
|
||||
name: string
|
||||
organizations: Organization[]
|
||||
roles: string[]
|
||||
loggedInAt: number
|
||||
jwt: {
|
||||
accessToken: string
|
||||
|
||||
Reference in New Issue
Block a user