feat: inplement auth for runs and runCases
This commit is contained in:
@@ -30,6 +30,7 @@ export type TokenContextType = {
|
||||
isAdmin: () => boolean;
|
||||
isProjectManager: (projectId: number) => boolean;
|
||||
isProjectDeveloper: (projectId: number) => boolean;
|
||||
isProjectReporter: (projectId: number) => boolean;
|
||||
setToken: (token: TokenType) => void;
|
||||
storeTokenToLocalStorage: (token: TokenType) => void;
|
||||
removeTokenFromLocalStorage: () => void;
|
||||
|
||||
Reference in New Issue
Block a user