The admin panel is the central hub for managing every aspect of a FutsalManager league. From here, administrators can configure seasons, schedule matches, manage teams and players, upload media, and review a full audit trail of every action taken in the system.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/danielsl4/TFG_DAM_2526/llms.txt
Use this file to discover all available pages before exploring further.
Roles and permissions
FutsalManager uses three fixed roles. Each role inherits all the capabilities of the roles below it.| Role | What they can do |
|---|---|
| user | View public pages, vote on match outcomes, read standings and statistics. |
| referee | Everything a user can do, plus lock/unlock matches, update match status, record events, and finalize matches. |
| admin | Everything a referee can do, plus create and delete seasons, groups, fields, and matches; upload images; and view the audit log. |
Accessing the admin panel
Navigate to/admin while logged in with an account that has the admin role. The guard reads your JWT and checks the role claim before the page loads.
Dashboard summary
The first page you see after entering/admin is the dashboard. It calls the summary endpoint to populate three counters and a recent activity feed.
season_id query parameter is optional. When omitted the counts are global across all seasons. When provided, the counters are scoped to that season.
Response shape:
| Field | Description |
|---|---|
totalTeams | Teams registered (or enrolled in the selected season). |
totalPlayers | Players with at least one roster entry in the season. |
pendingMatches | Matches with status pendiente that have not yet started. |
recentActivity | The five most recent audit log entries, newest first. |
All admin actions — creating seasons, scheduling matches, adding events — are written to the audit log automatically via
logAction(). You cannot disable this.Where to go next
Seasons and groups
Create seasons, define groups, and register fields before scheduling any matches.
Matches
Schedule group-stage and knockout matches, update team assignments, and delete matches.
Referee tools
Lock a match, record goals and cards, and finalize results with standings updates.