Improve enterprise tier child tenants access
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user