Skip to content

Allow managers to override aircraft location - #104

Merged
flymia merged 1 commit into
mainfrom
feature/admin-override-loc
Jul 23, 2026
Merged

flymia merged 1 commit into
mainfrom
feature/admin-override-loc

Conversation

@flymia

@flymia flymia commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

This fixes #96. If an aircraft is stuck and continuinity mode is enabled, we need to have some sort of override.

  • Make the fleet edit form's location card an editable ICAO input (was read-only "Admin Only")
  • Validate and persist current_loc in AircraftController::edit(), reusing the create-form airport check
  • Enables relocating a stranded/mis-parked airframe even under Location Continuity (the escape hatch)
  • Change is auto-audited via the existing activity-log trait
  • Add LocationContinuity tests for a successful override and rejection of an unknown airport

- Make the fleet edit form's location card an editable ICAO input (was read-only "Admin Only")
- Validate and persist current_loc in AircraftController::edit(), reusing the create-form airport check
- Enables relocating a stranded/mis-parked airframe even under Location Continuity (the escape hatch)
- Change is auto-audited via the existing activity-log trait
- Add LocationContinuity tests for a successful override and rejection of an unknown airport
@flymia flymia linked an issue Jul 23, 2026 that may be closed by this pull request
@flymia
flymia merged commit 35167fe into main Jul 23, 2026
1 check passed
@flymia
flymia deleted the feature/admin-override-loc branch July 23, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Admins need to overwrite the aircraft location

1 participant