feat: actualizar Tablero CDC con administracion de listas

This commit is contained in:
2026-08-13 18:21:34 -04:00
parent f4f6ee23df
commit 0567c666d3
65 changed files with 8120 additions and 1863 deletions
+6
View File
@@ -55,6 +55,7 @@ interface AuthContextValue {
canDeleteProjects: boolean;
canManageInternalPricing: boolean;
canControlPricingSummary: boolean;
canManageTariffCatalog: boolean;
loginWithGoogle: () => Promise<void>;
logout: () => Promise<void>;
}
@@ -190,6 +191,10 @@ export function AuthProvider({ children }: { children: ReactNode }) {
() => access?.canControlPricingSummary === true,
[access?.canControlPricingSummary],
);
const canManageTariffCatalog = useMemo(
() => access?.canManageTariffCatalog === true,
[access?.canManageTariffCatalog],
);
return (
<AuthContext.Provider
@@ -201,6 +206,7 @@ export function AuthProvider({ children }: { children: ReactNode }) {
canDeleteProjects,
canManageInternalPricing,
canControlPricingSummary,
canManageTariffCatalog,
loginWithGoogle,
logout,
}}