Improve demo tennat and user get
This commit is contained in:
@@ -35,6 +35,7 @@ class Settings(BaseServiceSettings):
|
||||
DEMO_SESSION_CLEANUP_INTERVAL_MINUTES: int = 60
|
||||
|
||||
# Demo account credentials (public)
|
||||
# Contains complete user, tenant, and subscription data matching fixture files
|
||||
DEMO_ACCOUNTS: dict = {
|
||||
"professional": {
|
||||
"email": "demo.professional@panaderiaartesana.com",
|
||||
@@ -42,7 +43,22 @@ class Settings(BaseServiceSettings):
|
||||
"subdomain": "demo-artesana",
|
||||
"base_tenant_id": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"subscription_tier": "professional",
|
||||
"tenant_type": "standalone"
|
||||
"tenant_type": "standalone",
|
||||
# User data from fixtures/professional/01-tenant.json
|
||||
"user": {
|
||||
"id": "c1a2b3c4-d5e6-47a8-b9c0-d1e2f3a4b5c6",
|
||||
"email": "maria.garcia@panaderiaartesana.com",
|
||||
"full_name": "María García López",
|
||||
"role": "owner",
|
||||
"is_active": True,
|
||||
"is_verified": True
|
||||
},
|
||||
# Tenant data
|
||||
"tenant": {
|
||||
"business_type": "bakery",
|
||||
"business_model": "production_retail",
|
||||
"description": "Professional tier demo tenant for bakery operations"
|
||||
}
|
||||
},
|
||||
"enterprise": {
|
||||
"email": "central@panaderiaartesana.es",
|
||||
@@ -51,6 +67,21 @@ class Settings(BaseServiceSettings):
|
||||
"base_tenant_id": "80000000-0000-4000-a000-000000000001",
|
||||
"subscription_tier": "enterprise",
|
||||
"tenant_type": "parent",
|
||||
# User data from fixtures/enterprise/parent/01-tenant.json
|
||||
"user": {
|
||||
"id": "d2e3f4a5-b6c7-48d9-e0f1-a2b3c4d5e6f7",
|
||||
"email": "director@panaderiaartesana.es",
|
||||
"full_name": "Director",
|
||||
"role": "owner",
|
||||
"is_active": True,
|
||||
"is_verified": True
|
||||
},
|
||||
# Tenant data
|
||||
"tenant": {
|
||||
"business_type": "bakery_chain",
|
||||
"business_model": "multi_location",
|
||||
"description": "Central production facility and parent tenant for multi-location bakery chain"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "Madrid - Salamanca",
|
||||
|
||||
Reference in New Issue
Block a user