[permissions] Add workspace + security settings permission gates (#10204)
In this PR - closing https://github.com/twentyhq/core-team-issues/issues/313 - adding permission gates on workspace settings and security settings - adding integration tests for each of the protected setting and security
This commit is contained in:
6
packages/twenty-server/@types/jest.d.ts
vendored
6
packages/twenty-server/@types/jest.d.ts
vendored
@ -4,16 +4,18 @@ declare module '@jest/types' {
|
||||
namespace Config {
|
||||
interface ConfigGlobals {
|
||||
APP_PORT: number;
|
||||
ACCESS_TOKEN: string;
|
||||
ADMIN_ACCESS_TOKEN: string;
|
||||
EXPIRED_ACCESS_TOKEN: string;
|
||||
MEMBER_ACCESS_TOKEN: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
const APP_PORT: number;
|
||||
const ACCESS_TOKEN: string;
|
||||
const ADMIN_ACCESS_TOKEN: string;
|
||||
const EXPIRED_ACCESS_TOKEN: string;
|
||||
const MEMBER_ACCESS_TOKEN: string;
|
||||
}
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user