ownership
This commit is contained in:
parent
72fb6fbc20
commit
e2b46becf0
13 changed files with 79 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
|||
import { PermissionObject } from "./permissionTypes";
|
||||
|
||||
export type JWTData = {
|
||||
[key: string]: string | number | PermissionObject;
|
||||
[key: string]: string | number | boolean | PermissionObject;
|
||||
};
|
||||
|
||||
export type JWTToken = {
|
||||
|
@ -10,6 +10,7 @@ export type JWTToken = {
|
|||
username: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
isOwner: boolean;
|
||||
permissions: PermissionObject;
|
||||
} & JWTData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue