FEAT: add decorator to block endpoint if not found module

This commit is contained in:
marcos-silva-rodrigues
2025-04-17 15:20:27 -03:00
parent a8ae07e6c4
commit 2aed66d371
5 changed files with 21 additions and 6 deletions
@@ -121,6 +121,7 @@ export class AuthenticationGuard
customer_id: accessTokenPayload.customer_id,
customer_name: accessTokenPayload.customer_name,
customer_tier: accessTokenPayload.customer_tier,
customer_modules: accessTokenPayload.customer_modules,
access_token: accessToken,
};
// TODO: for backwards compatibility. remove in the future
+5
View File
@@ -609,6 +609,11 @@ export interface DadosferaModule {
key: string;
permissionSeqId: number;
}
export const DADOSFERA_MODULES_KEYS = {
LOG_DASHBOARD: 'logs-dashboard'
}
export const DADOSFERA_MODULES: Array<DadosferaModule> = [
{
name: 'Intelligence Module',