-
Notifications
You must be signed in to change notification settings - Fork 0
EULA
In order to comply with flight claim processing standards, we have introduced an End User License Agreement (EULA) that is mandatory. The agreement includes the following:
- Accuracy of Information: Users need to provide accurate flight details.
- Privacy: Users give consent for Aero to handle their flight data in order to verify delays.
- Limitation of Liability: Aero will not be held accountable for claims that airlines deny.
- License to Use: Users receive a personal, non-exclusive license to create claims.
- AI Accuracy & Legal Disclaimer: Users acknowledge that AI generated content may be inaccurate.
A Middleware Gatekeeper pattern was implemented to guarantee that no user can skip the agreement.
-
Table:
eula_acceptances -
Service:
userService.tsmanages the database through Drizzle ORM.
-
requireEula: This function looks for a record in the database before giving permission for sensitive POST requests. If the record is found to be missing, it sends a403 Forbiddenresponse along with the codeEULA_REQUIRED.
-
POST /api/user/accept-eula: Triggered when the user presses "Enter" on the EULA interface. -
POST /api/claims/submitClaim: Currently, it's protected by bothrequireAuthandrequireEula.
- The user signs in.
- The user tries to submit a claim.
- The middleware stops the request and sends the user to the EULA page.
- The user agrees, and an entry is made in
eula_acceptances. - Now the user is able to submit claims successfully.
To ensure the responsible use of AI within the AERO platform, the following terms are included in the EULA:
-
Accuracy Disclaimer: Users acknowledge that the AI Enabled Resolution Officer (AERO) uses Large Language Models which may occasionally produce inaccurate information regarding flight status or compensation.
-
Informational Purposes Only: All compensation estimates provided by the platform are for informational purposes only. These estimates do not constitute formal legal advice.
-
No Guarantee of Success: Aero does not guarantee that following AI-generated advice will result in successful compensation from an airline.