# UX-001 Certification: Anonymous Protected-Route Access

Date: 2026-02-22  
Checklist Item: `UX-001`  
Ticket: `ISIS-0226`

## Journey Scope

User state: anonymous (not authenticated)  
Journey: access protected route -> blocked -> clear recovery path -> sign-in ->
return to requested route

## Evidence Matrix

| Requirement                    | Evidence                                                                                                                                                                                                  | Status |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| Protected route access blocked | `apps/isis/web/src/App.e2e.spec.tsx` test `blocks anonymous users from protected routes and provides a recovery path after sign-in` renders `/jobs` while unauthenticated and verifies redirect to login. | Pass   |
| Clear recovery path shown      | Same test asserts login page message `Sign in to continue to \`/jobs\`.` from route state.                                                                                                                | Pass   |
| Recovery after authentication  | Same test signs in with `jobs:read` permission and verifies redirect succeeds to `Jobs` page heading.                                                                                                     | Pass   |
| Route guard behavior           | `apps/isis/web/src/auth/RequireAuth.tsx` redirects unauthenticated users to `/login` with origin route state.                                                                                             | Pass   |

## Reproduction Command

```bash
pnpm --filter @isis/web exec vitest run src/App.e2e.spec.tsx -t "blocks anonymous users from protected routes and provides a recovery path after sign-in"
```
