How lslo06/sigep works
Fundos is a Spanish-language territorial and land-record management application. Staff sign in, select an organization, and work with role-authorized modules; the central record workflow lists, searches, creates, edits, and tracks property-related expedientes, with separate payment and multi-role process-tracking workspaces. The tree and excerpts also show organization membership, user administration, and a worker-creation function. Several major screens were not sampled in detail, so their internal operations and database relationships are not inferred here.
Main entry points: App.jsx Workspace shell and dashboard · ModuleWorkspace.jsx Territorial module workspace · WorkflowWorkspace.jsx Process-tracking workspace · supabase.js Supabase client
Components 18
Access and roles
- Authentication and organization gate
src/AuthApp.jsx - Organization memberships
src/lib/memberships.js - Role permissions
src/lib/permissions.js - Role-aware routes
src/lib/routes.js - User administration
src/modules/UsersWorkspace.jsx - Worker creation handler
supabase/functions/crear-trabajador/handler.js
Territorial records
- Workspace shell and dashboard
src/App.jsx - Expediente access and mapping
src/lib/expedientes.js - Record validation
src/lib/validation.js - Territorial module workspace
src/modules/ModuleWorkspace.jsx - Record editor
src/modules/RecordEditor.jsx - Editor sections
src/modules/editorSections.js - Module definitions
src/modules/config.js
Process operations
- Process-tracking workspace
src/modules/WorkflowWorkspace.jsx - Process stages and rules
src/lib/workflow.js - Payments workspace
src/modules/PaymentsWorkspace.jsx
Backend services
- Supabase client
src/lib/supabase.js
Other components
- Staff user
Connections 26
- Staff user → Authentication and organization gate: signs in
src/AuthApp.jsx - Authentication and organization gate → Organization memberships: loads memberships
src/AuthApp.jsx - Authentication and organization gate → Workspace shell and dashboard: opens workspace
src/AuthApp.jsx - Workspace shell and dashboard → Role-aware routes: resolves navigation
src/App.jsx - Role-aware routes → Role permissions: checks access
src/lib/routes.js - Workspace shell and dashboard → Expediente access and mapping: loads and saves
src/App.jsx - Expediente access and mapping → Record validation: validates fields
src/lib/expedientes.js - Expediente access and mapping → Supabase client: queries records
src/lib/expedientes.js - Workspace shell and dashboard → Territorial module workspace: renders modules
src/App.jsx - Territorial module workspace → Supabase client: accesses module records
src/modules/ModuleWorkspace.jsx - Territorial module workspace → Module definitions: uses definitions
src/modules/ModuleWorkspace.jsx - Territorial module workspace → Record editor: renders editor
src/modules/ModuleWorkspace.jsx - Record editor → Editor sections: uses sections
src/modules/RecordEditor.jsx - Workspace shell and dashboard → Process-tracking workspace: renders workflow
src/App.jsx - Process-tracking workspace → Supabase client: loads and updates
src/modules/WorkflowWorkspace.jsx - Process-tracking workspace → Process stages and rules: applies process rules
src/modules/WorkflowWorkspace.jsx - Process-tracking workspace → Record validation: uses date rules
src/modules/WorkflowWorkspace.jsx - Workspace shell and dashboard → Payments workspace: renders payments
src/App.jsx - Payments workspace → Supabase client: accesses payment data
src/modules/PaymentsWorkspace.jsx - Payments workspace → Process stages and rules: uses payment concepts
src/modules/PaymentsWorkspace.jsx - Territorial module workspace → Role permissions: checks access
src/modules/ModuleWorkspace.jsx - Process-tracking workspace → Role permissions: checks work roles
src/modules/WorkflowWorkspace.jsx - Payments workspace → Role permissions: checks access
src/modules/PaymentsWorkspace.jsx - User administration → Supabase client: manages users
src/modules/UsersWorkspace.jsx - Territorial module workspace → User administration: renders administration
src/modules/ModuleWorkspace.jsx - Worker creation handler → Staff user: authorizes request
supabase/functions/crear-trabajador/handler.js