diff --git a/README.md b/README.md index 632b830..c98c30d 100644 --- a/README.md +++ b/README.md @@ -1282,7 +1282,7 @@ SpikerSoft supports three logical account categories: | Rule | Minimum Age | Details | |---|---|---| | Create a child account | 10 | Children under 10 are not eligible for accounts. | -| Travel programs (domestic or international) | 12 | Children ages 10–11 can have an account for learning and interests, but travel programs require age 12+. A "domestic travel only" option is available, and the system enforces this on both frontend and backend. | +| International travel | 12 | Children ages 10–11 can have an account and must choose "domestic travel only" (no passport). The API rejects an international request under 12. The create dialog enforces the 10–17 account ages and offers the domestic-only checkbox; it does not block an international submission by age. | | Child account upper bound | 17 (under 18) | Adults (18+) should register directly as a Parent or Independent Solo Traveler. | | Child account conversion warning | 18 | At 18, child accounts are no longer considered minors legally. A dismissable warning banner is shown prompting the user to prepare for account conversion. | | Child account mandatory conversion | 19 | At 19, the user must convert their child account to an independent individual account. A non-dismissable dialog is shown on login. If declined, the account is disabled in Keycloak and marked as `Inactive`. | @@ -1317,7 +1317,7 @@ When a child account user's age naturally progresses past the child threshold, t | **Admin** | Keycloak realm role | Full access: Keycloak admin panel, child account review, health info for any child | | **Staff** | Keycloak realm role | Child account review (approve/reject), passport viewing (audit-logged), health info access | -Both roles are Keycloak **realm roles** and can be assigned to users via the Keycloak Admin Panel (Roles tab → assign to user). The frontend `RoleGuard` reads roles from the JWT `realm_access.roles` claim. The backend checks `User.IsInRole()` for both `Admin`/`admin` and `Staff`/`staff` (case-insensitive). +Both roles are Keycloak **realm roles** and can be assigned to users via the Keycloak Admin Panel (Roles tab → assign to user). The frontend `RoleGuard` reads roles from the JWT `realm_access.roles` claim. The API accepts both `Admin`/`admin` and `Staff`/`staff` through `SpikerSoftRoles.IsInRoleIgnoreCase`. ---