Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/scooller/Leben-site/llms.txt

Use this file to discover all available pages before exploring further.

The iLeben admin panel is built on Filament 5 and is accessible at /admin. It is the operational nerve center of the platform — every real estate project, plant unit, payment record, user account, and piece of site content is created, edited, or reviewed here. Access is protected by Laravel Sanctum session authentication combined with Spatie Permissions role-based access control. Only users holding the admin or marketing role can log in; all others are redirected. Admins enjoy full CRUD privileges across every resource, while marketing users have a read-oriented view limited to the real estate catalog and contact data.

Available Modules

Every section of the panel is organized into navigation groups. The table below lists all Filament resources and pages registered in the application.

Proyectos

Manage real estate projects synced from Salesforce. Configure etapa, tipo, Transbank commerce codes, advisors, and pricing.

Plantas

Browse and edit the full unit catalog. Upload cover and interior images via Curator. Control availability and export to CSV.

Usuarios

Create and manage admin/marketing accounts. View per-user activity history via UserActivitiesPage. Supports export.

Pagos

Full payment transaction log linked to a project and plant. Covers Transbank, Mercado Pago, and manual gateway records.

Contactos

Contact form submissions with Salesforce Lead sync, CSV import wizard, activity log, and bulk re-sync action.

Short Links

Manage shortened URLs with UTM tracking tags. Includes visit analytics and export action.

Asesores

Sales advisor profiles with avatar, WhatsApp redirect, QR code generation, and project associations.

Tokens API

Manage PersonalAccessToken records. Each token carries an authorized_url field and an active scope based on expiry.

Registros de Actividad

Audit trail powered by the activity-log package. Tracks model changes across the entire application.

Reservas

View PlantReservation records. Monitor active, expired, completed, and released states.

Canales de Contacto

ContactChannel records synced from Salesforce. Each channel controls form behavior and displays a color badge.

Frontend Preview Links

Temporary token-based links that grant unauthenticated access to the catalog before it goes public.
In addition to resources, the panel ships four custom pages: SiteSettings (13 configuration tabs), UserActivitiesPage (per-user history), ProductionSyncProgress, and ContactImportProgress (background task monitors).

Roles and Access Differences

iLeben uses two roles managed by Spatie Permissions. A user is identified as admin or marketing either through their Spatie role assignment or the user_type column on the users table.
Capabilityadminmarketing
Access /admin
View Proyectos & Plantas
Create / Edit / Delete records
View Usuarios
Access SiteSettings
Access Tokens API
View Pagos
The canAccessPanel() method on the User model enforces the panel gate, and each individual resource adds its own canViewAny(), canCreate(), canEdit(), and canDelete() checks. Use the cards below to jump to the dedicated page for each area of the admin panel.

Projects & Plants

Projects, units, Salesforce sync, pricing, reservations, and export.

Users & Roles

Authentication, role setup, user fields, API tokens, and activity history.

Media & Settings

Filament Curator file manager and the 13-tab SiteSettings page.

Build docs developers (and LLMs) love