Every account on Futsal League Manager is assigned one of three roles at registration or by an administrator. Your role determines which parts of the platform you can access and what actions you can perform.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526_Consulta/llms.txt
Use this file to discover all available pages before exploring further.
All new accounts start with the user role. Only an administrator can promote an account to referee or admin.
Roles at a glance
| Capability | User | Referee | Admin |
|---|---|---|---|
| Browse matches and calendar | Yes | Yes | Yes |
| View standings | Yes | Yes | Yes |
| View statistics | Yes | Yes | Yes |
| Submit prediction votes (porra) | Yes | Yes | Yes |
| Follow teams | Yes | Yes | Yes |
| View team and player profiles | Yes | Yes | Yes |
| Manage own profile and account | Yes | Yes | Yes |
| Lock / unlock a match | No | Yes | Yes |
| Change match status | No | Yes | Yes |
| Add / remove match events | No | Yes | Yes |
| Update match observations | No | Yes | Yes |
| Finish a match | No | Yes | Yes |
| Create and delete fixtures | No | No | Yes |
| Manage seasons, groups, fields | No | No | Yes |
| Manage teams and players | No | No | Yes |
| Upload images | No | No | Yes |
| Manage user accounts | No | No | Yes |
| View audit logs | No | No | Yes |
| Generate season reports | No | No | Yes |
User
The user role is for fans and registered members of the league community. After creating and verifying an account, you have full access to the public features of the platform.Browsing and discovery
Browsing and discovery
- View the full match calendar for any season and filter by group.
- Open match detail pages to see goals, cards, and referee observations.
- Browse team profiles, including the squad list and recent results.
- Browse player profiles with per-season statistics (goals, cards, matches played).
- View standings tables for any competition group.
- Explore the statistics section for top scorers, card leaders, and team rankings.
Prediction voting (porra)
Prediction voting (porra)
Cast a vote on the outcome of any pending match — home win, draw, or away win — before the referee starts the match. Points are awarded automatically when a match finishes and your prediction is correct. Your total points and global ranking appear on your profile page.
Following teams and profile
Following teams and profile
Follow any team to add it to your profile. Your profile page shows:
- All teams you follow with links to their profiles.
- Upcoming fixtures for your followed teams.
- Your total prediction points and global ranking.
Referee
The referee role is for officials who manage matches in progress. Referees have everything a user has, plus access to a set of live-match tools.Match locking
Match locking
Before editing a match, a referee must lock it to prevent conflicting changes from other referees. Locks expire automatically after 2 minutes of inactivity. An administrator can also force-release a lock at any time.
Match status
Match status
Referees control the match lifecycle by changing its status:
Status transitions are sequential:
| Status | Meaning |
|---|---|
pendiente | Scheduled, not yet started. Prediction voting is open. |
en_curso | In progress. Voting closes. Events can be recorded. |
finalizado | Finished. Standings and prediction scores update automatically. |
pendiente → en_curso → finalizado.Match events
Match events
While a match is in progress, referees add or remove events attributed to individual players:
- Goal (
gol) — increments the team score and the player’s goal tally. - Yellow card (
tarjeta_amarilla) — recorded against the player and team. - Red card (
tarjeta_roja) — recorded against the player and team. - Penalty shootout goal (
penalti_tanda_marcado) — used during shootout phases. - Penalty shootout miss (
penalti_tanda_fallado) — used during shootout phases.
Observations and finishing a match
Observations and finishing a match
Referees can add free-text observations to a match at any point. When the match is over, the referee selects Finish match, optionally saves final observations, and the platform:
- Sets the match status to
finalizado. - Releases the lock automatically.
- Updates the group standings.
- Calculates and assigns prediction points to all voters.
- Updates player statistics (matches played, goals, cards).
Admin
The admin role has unrestricted access to every part of the platform. Administrators perform all referee actions and additionally manage the league structure and user accounts through a dedicated admin panel.Seasons, groups, and fields
Seasons, groups, and fields
- Create, edit, and archive seasons.
- Manage competition groups within a season.
- Add, edit, and remove playing fields.
Fixtures
Fixtures
- Create fixtures manually by selecting teams, field, group, season, and kick-off date.
- Delete fixtures (soft-delete — matches are deactivated, not permanently removed).
Teams and players
Teams and players
- Create and edit teams, including uploading team logos.
- Add, edit, and remove players, including uploading player photos.
- Assign players to teams.
User management
User management
- View all registered accounts.
- Change any account’s role (user → referee, user → admin, etc.).
- Deactivate accounts to prevent login without deleting them.
Audit logs and reports
Audit logs and reports
- View the full audit log of platform actions (match creation, deletion, role changes, etc.) with timestamps and the acting user.
- Generate season reports covering all finished matches and their events.