Improve enterprise tier child tenants access

This commit is contained in:
Urtzi Alfaro
2026-01-07 16:01:19 +01:00
parent 2c1fc756a1
commit 560c7ba86f
19 changed files with 854 additions and 15 deletions

View File

@@ -111,6 +111,9 @@ export const ROUTES = {
POS_WEBHOOKS: '/pos/webhooks',
POS_SETTINGS: '/pos/settings',
// Enterprise
PREMISES: '/app/enterprise/premises',
// Analytics
ANALYTICS_EVENTS: '/app/analytics/events',
@@ -248,6 +251,22 @@ export const routesConfig: RouteConfig[] = [
},
},
// Enterprise Section - Multi-tenant management
{
path: ROUTES.PREMISES,
name: 'Premises',
component: 'PremisesPage',
title: 'Locales',
icon: 'premises',
requiresAuth: true,
requiredSubscriptionFeature: 'multi_tenant_management',
showInNavigation: true,
meta: {
headerTitle: 'Locales',
preload: false,
},
},
// Operations Section - Business Operations Only
{
path: '/app/operations',