feat: Implement user-tenant relationship management with CRUD operations and access control

This commit is contained in:
2025-11-07 14:38:48 -06:00
parent ef3924a41d
commit 2fe6a7c8ff
7 changed files with 572 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ from fastapi import APIRouter
# Importar routers de módulos
from .auth import router as auth_router
from .tenants import router as tenants_router
from .user_tenant.routes import router as user_tenant_router
from .licenses import router as licenses_router
from .pedmientos.router import router as pedimentos_router
from .client_and_provider import router as client_and_provider_router
@@ -26,6 +27,7 @@ router = APIRouter()
# Registrar módulos
router.include_router(auth_router)
router.include_router(tenants_router, prefix="/a76", tags=["a76 / tenants"])
router.include_router(user_tenant_router, prefix="/a76", tags=["a76 / user-tenants"])
router.include_router(licenses_router, prefix="/a76", tags=["a76 / licenses"])
router.include_router(pedimentos_router, prefix="/a76")
router.include_router(client_and_provider_router, prefix="/a76", tags=["a76 / clients and providers"])