↑↓ to navigate Enter to open "…" all these words ANDOR to combine

Guides & specifications

Navigation Flow

As of: 2026-10-28 (C.A.S.A Boutique storefront with guest checkout, Store #232 and #233; detail routes typed {Id:int}, Store #214; app bar search and cart for every visitor, find my order and guest cancel, Store #236 on MMCA.Common v1.265.1).

This document maps the site navigation flow for each actor in the MMCA.Store application. Each mermaid diagram shows the pages accessible to that actor and the directional navigation links between them. (Companion to MMCA.ADC's NavigationFlow.md; same per-actor format.)

Actors

Actor Access Level Identification
Anonymous Public storefront: catalog and its search, browser cart, guest checkout, the guest order page and find my order, store information pages, auth pages Not authenticated
Customer Anonymous + profile, server cart, own orders Authenticated, default Customer role (customer_id claim)
Admin Full access: Catalog/Sales/Identity admin CRUD Authenticated, Admin role

Roles and enforcement: Admin is the only elevated role (registration creates a Customer). The 19 admin pages are gated by capability, not by role name: each carries page-level [HasPagePermission(...)] naming the same permission its API requires, read from the token's permission claims, and the Admin role holds all of them. The three per-module *RouteAuthorizationTests (MMCA.Store.CI.slnf:40,46,52), subclasses of PagePermissionRouteAuthorizationTestsBase, regression-gate all 19 in CI and pin which permission each page states; the Identity test governs .Pages.Customers, .Pages.Roles and the two user-administration namespaces .Pages.Users.UserList and .Pages.Users.UserDetail (IdentityRouteAuthorizationTests.cs:29-35). Customer-facing data is additionally row-scoped server-side (see Authorization Model at the end), so the page gate is defense-in-depth, never the boundary.


1. Anonymous User

Pages accessible without authentication: home, login, register, the two password-reset pages, the public catalog, checkout, the guest order page, find my order, and the store information pages.

flowchart TD
    subgraph Auth["Authentication"]
        Login["/login<br/>Login"]
        Register["/register<br/>Register"]
        ForgotPassword["/forgot-password<br/>Request Reset Link"]
        ResetPassword["/reset-password<br/>Set New Password"]
    end

    subgraph Catalog["Public Catalog"]
        Browse["/catalog<br/>Catalog Browse"]
        ProductDetail["/catalog/:Id<br/>Product Detail"]
    end

    subgraph Shop["Cart and Guest Checkout"]
        Cart["Cart Drawer<br/>(layout component, browser cart)"]
        Checkout["/checkout<br/>Checkout"]
        GuestOrder["/orders/guest/:Id<br/>Guest Order"]
        FindOrder["/orders/find<br/>Find My Order"]
        OrderDetail["/orders/:Id<br/>Order Detail, after sign-up"]
    end

    subgraph Info["Store Information"]
        InfoPages["/shipping, /returns, /contact,<br/>/privacy, /terms<br/>Store Info"]
        About["/about<br/>About, URL only"]
    end

    Home["/  Store Home"]

    Home -->|hero, category tiles, banners, nav menu Shop| Browse
    Home -->|app bar search, q| Browse
    Home -->|Special Offers banner, sale=true| Browse
    Home -->|best seller card| ProductDetail
    Home -->|nav menu| Login
    Home -->|nav menu| Register
    Home -->|footer links| InfoPages
    Home -->|footer link Find my order| FindOrder

    Login -->|on success| Home
    Register -->|on success| Home

    Login -->|Forgot password link| ForgotPassword
    ForgotPassword -->|back to sign in| Login
    ForgotPassword -.->|reset link in the email| ResetPassword
    ResetPassword -->|on success| Login

    Browse -->|card click| ProductDetail
    Browse -->|best seller card, empty result| ProductDetail
    ProductDetail -->|back to shop| Browse
    Browse -->|quick add| Cart
    ProductDetail -->|add to cart| Cart
    ProductDetail -->|buy now| Checkout
    Cart -->|checkout and pay| Checkout

    Checkout -->|sign in link, returnUrl| Login
    Login -->|returnUrl| Checkout
    Checkout -->|find my order link| FindOrder
    Checkout -.->|Stripe payment, private link| GuestOrder
    GuestOrder -->|cancel order, unpaid only| GuestOrder
    GuestOrder -->|create account, then claim| OrderDetail
    GuestOrder -->|sign in instead, returnUrl| Login
    GuestOrder -->|link did not open| FindOrder
    FindOrder -.->|new private link by email| GuestOrder

Add-to-cart works signed out. An anonymous shopper's cart lives on the device in the GuestCartStore (variant ids and quantities only; GuestCartStore.cs:6-12), and AddItemAsync writes there for an anonymous shopper (CartStateService.cs:93-98). CartButton is a public app bar component (SalesUIModule.cs:31-33), which the framework renders for every visitor, signed in or not, in the app bar and in the mobile quick-actions row (MMCA.Common v1.265.1 MainLayout.razor:43-46, NavMenu.razor:44-47), so a signed-out shopper and a customer open the same drawer from the same button. The drawer's "Checkout & Pay" and the product page's "Buy now" both open /checkout (CartDrawer.razor.cs:248-252, CatalogProductDetail.razor.cs:216).

The shop search is a public app bar component too (CatalogUIModule.cs:31): on every page it sends the term to /catalog?q= (StoreSearchBox.razor:59-61). The home page's Special Offers banner opens /catalog?sale=true and renders only while at least one product is on sale (StoreHome.razor:63-65, StoreHome.razor.cs:71-74). A filtered browse that comes back empty offers Clear filters and up to four best sellers, whose cards open the product page (CatalogBrowse.razor:103-116, CatalogBrowse.Filters.razor.cs:18).

/checkout is [AllowAnonymous] (Checkout.razor:5): a signed-out shopper either follows the sign-in link to /login?returnUrl=/checkout (Checkout.razor.cs:87) or continues as a guest with a name and an email, and no account is created (Checkout.razor.cs:17-24). A guest order is placed through the API, its private access token is remembered on the device, and the browser cart is kept, with the order and the lines it was placed with remembered beside it, so a shopper who abandons the Stripe page still has the bag (Checkout.razor.cs:294-298). The success and cancel URLs point at /orders/guest/{Id}?payment=... with the token in the URL fragment, which the browser never sends to a server (Checkout.razor.cs:300-322). If the payment session cannot be opened, the guest lands on the guest order page instead.

/orders/guest/{Id:int} is [AllowAnonymous] (GuestOrderDetail.razor:8). It reads the token from the fragment, or from the device when the fragment was lost (GuestOrderDetail.razor.cs:98-107), and the API answers any other caller with NotFound (GuestOrdersController.cs:24-31). Once the order is paid (or the Stripe success return lands on an order that is neither Cancelled nor PaymentFailed), the page takes exactly the remembered lines back out of the bag, so items added since survive (GuestOrderDetail.Lifecycle.razor.cs:23-43, GuestCartStore.cs:128-150). An unpaid order can be cancelled from the page after a confirmation (GuestOrderDetail.razor.cs:61-65, GuestOrderDetail.Lifecycle.razor.cs:50-92); the token-gated POST Orders/guest/{id}/cancel answers every refusal with NotFound (GuestOrdersController.cs:163-186). A signed-out guest can create an account from the order's own details; the page registers, claims the order into the new account, and full-loads /orders/{Id} (GuestOrderDetail.razor.cs:239-314). The claim endpoint itself is [Authorize] (GuestOrdersController.cs:131-132). A guest with an existing account can sign in instead and return to the same page (GuestOrderDetail.razor:190, GuestOrderDetail.razor.cs:86), which then offers add to my account. A link that does not open the order offers find my order (GuestOrderDetail.razor:22-28).

/orders/find is [AllowAnonymous] (FindGuestOrder.razor:5), linked from the Store footer on every page (StoreFooterLinks.razor:14), from the guest section of /checkout (Checkout.razor:51) and from a guest order link that did not open. The guest gives the order number and the checkout email, and the page shows the same confirmation whatever the API found (FindGuestOrder.razor.cs:59-70), because POST Orders/guest/lookup always answers 202 and is rate limited per IP (GuestOrdersController.cs:198-216). On a match an internal command mints a new token, emails the new private link to the address on the order, and only then saves the token's hash, so every earlier link stops working (RequestGuestOrderLinkHandler.cs:38-55, SendGuestOrderLinkInternalCommandHandler.cs:66-86). The dashed edge is that email.

The store information pages are one component with five routes, [AllowAnonymous] (StoreInfo.razor:1-5, :12), linked from the Store footer that renders inside the framework footer on every page (StoreFooterLinks.razor:13-19, contributed at CatalogUIModule.cs:34). /about is [AllowAnonymous] too (About.razor:1, :4), but no Store page, menu or footer links to it, so it is reachable by URL only.

The product detail page carries a reviews section at the anchor #reviews, and the browse cards show a star rating. Both are readable anonymously: the published-reviews endpoint is AllowAnonymous and output-cached (ReviewsController.cs:88-90). The review editor inside that section appears only for a signed-in viewer: the panel skips the eligibility read for an anonymous one (ProductReviewsPanel.razor.cs:180-184).

/forgot-password and /reset-password are shipped by the framework UI package and carry [AllowAnonymous] (ForgotPassword.razor:8, ResetPassword.razor:12). The dashed edge is the reset email: the link carries the email and the token in the URL fragment, which the browser never sends to a server, and the page reads and scrubs it from JS (ResetPassword.razor:124-129; the query-string form still works for older links). Both fields stay editable so a recipient can paste the token by hand.


2. Customer (Authenticated User)

Inherits all anonymous pages, including the cart drawer and /checkout, where a signed-in customer's server cart becomes the order and the saved profile address pre-fills the form (Checkout.razor.cs:17-24). A browser cart from before sign-in moves into the server cart on the first cart load after sign-in (CartStateService.cs:252-257, :273); a guest order the bag was placed as is settled first, so its lines are subtracted when that order is paid or was claimed (or its link replaced), the bag is kept whole when it was cancelled, and both stay while it is still unpaid (CartStateService.cs:635-681). Gains the profile page, the active-sessions page, and their own orders. Unauthenticated visitors deep-linking to /profile or /orders are redirected to login (SSR session-cookie auth keeps [Authorize] enforced on fresh GETs and F5, ADR-022). /orders/{Id:int} is the deliberate exception: the page is [AllowAnonymous] (OrderDetail.razor:11) because the Stripe ?payment=success return is a full-page load that server-side rendering cannot authenticate, so a page gate would bounce a paying customer to /login mid-payment. The protection is API-side: an anonymous read of the order is refused and the page renders only an alert (OrderDetail.razor:6-10).

flowchart TD
    subgraph Auth["Authentication"]
        Login["/login<br/>Login"]
    end

    subgraph Catalog["Public Catalog"]
        Browse["/catalog<br/>Catalog Browse"]
        ProductDetail["/catalog/:Id<br/>Product Detail"]
        Reviews["Reviews section<br/>(anchor on the product page)"]
    end

    subgraph Sales["Cart and Orders"]
        Cart["Cart Drawer<br/>(layout component)"]
        Checkout["/checkout<br/>Checkout"]
        Orders["/orders<br/>My Orders"]
        OrderDetail["/orders/:Id<br/>Order Detail"]
        GuestOrder["/orders/guest/:Id<br/>Guest Order"]
    end

    subgraph Identity["Profile"]
        Profile["/profile<br/>My Profile"]
        Sessions["/profile/sessions<br/>Active Sessions, framework page"]
    end

    Home["/  Store Home"]

    Home -->|nav menu| Browse
    Home -->|nav menu| Orders
    Home -->|nav menu| Profile
    Home -->|nav menu| Sessions

    Browse -->|card click| ProductDetail
    ProductDetail -->|add to cart| Cart
    ProductDetail -->|buy now| Checkout
    Cart -->|checkout and pay| Checkout
    Checkout -->|Stripe payment| OrderDetail
    Checkout -->|order created, id unknown| Orders

    Orders -->|order card| OrderDetail
    OrderDetail -->|back| Orders
    OrderDetail -->|continue shopping, after payment| Browse
    Profile -->|My orders link| Orders
    Profile -->|manage devices link| Sessions
    GuestOrder -->|add to my account| OrderDetail

    ProductDetail -->|reviews section| Reviews
    OrderDetail -->|Rate this product, delivered orders| Reviews

A signed-in checkout sends the customer to Stripe with /orders/{Id}?payment=success as the return (CartStateService.cs:333-334). Once that return confirms the payment, the order page shows a thank-you block above the summary: the order number, the date placed, where the receipt went and what happens next (OrderDetail.razor:68-73, OrderConfirmation.razor:8-23). When the Stripe session fails after the order exists, the page lands on the order instead, which offers payment; when the order id is unknown, it lands on /orders (Checkout.razor.cs:245-264).

A delivered order's lines carry a "Rate this product" link to that product's reviews anchor, which is the shortest path from "my parcel arrived" to writing the review the delivery entitled the customer to. The editor inside the section still checks eligibility server-side (GET /Reviews/by-product/{productId}/mine), so the link is a shortcut, never the authorization.

/orders lists only the caller's own orders (ownership Specification row-scoping); an admin on the same route sees all orders. A customer gets them as a list of order cards (order number, status, date placed, item count and total, each opening the order) while an admin keeps the data grid; the page picks by role (OrderList.razor:24-29, OrderList.razor.cs:84, CustomerOrderList.razor:38-73). The profile page links to the same list (Profile.razor:13-16). The order detail data is ownership-checked server-side with 404-not-403 semantics so foreign order ids do not leak existence. The summary panel shows the date placed (OrderSummaryPanel.razor:40-43), and a customer's cancel asks for confirmation first (OrderSummaryPanel.razor.cs:187-191). Abandoned Stripe payments are recovered by the OrphanOrderRecovery component on return.


3. Admin

Inherits all customer pages, plus the admin CRUD surfaces for all three modules and the user and role administration pages. Every page below except the shared /orders pair (see the customer section) carries [HasPagePermission(...)] for the permission its API states (the Route Contract lists each one); a customer deep-linking to any of them gets Forbidden on both fresh GET and F5, unless the customer's role has been granted that permission.

flowchart TD
    subgraph CatalogAdmin["Catalog Admin"]
        Categories["/categories<br/>Category List"]
        CategoryCreate["/categories/create<br/>Create Category"]
        CategoryDetail["/categories/:Id<br/>Category Detail"]
        Products["/products<br/>Product List"]
        ProductCreate["/products/create<br/>Create Product"]
        ProductDetailAdm["/products/:Id<br/>Product Detail"]
        ReviewsAdm["/reviews<br/>Review Moderation"]
    end

    subgraph SalesAdmin["Sales Admin"]
        Inventory["/inventory<br/>Inventory List"]
        InventoryCreate["/inventory/create<br/>Create Inventory Item"]
        InventoryDetail["/inventory/:Id<br/>Inventory Detail"]
        Carts["/shoppingcarts<br/>Shopping Cart List"]
        CartDetail["/shoppingcarts/:Id<br/>Shopping Cart Detail"]
        OrdersAll["/orders<br/>All Orders"]
        OrderDetailAdm["/orders/:Id<br/>Order Detail"]
    end

    subgraph IdentityAdmin["Identity Admin"]
        Customers["/customers<br/>Customer List"]
        CustomerCreate["/customers/create<br/>Create Customer"]
        CustomerDetail["/customers/:Id<br/>Customer Detail"]
        Users["/users<br/>User Management"]
        UserDetail["/users/:Id<br/>User Detail"]
        Roles["/roles<br/>Role Administration"]
        RoleEdit["/roles/:Role<br/>Role Permission Editor"]
    end

    Home["/  Store Home"]

    Home -->|nav menu| Categories
    Home -->|nav menu| Products
    Home -->|nav menu| ReviewsAdm
    Home -->|nav menu| Inventory
    Home -->|nav menu| Carts
    Home -->|nav menu| OrdersAll
    Home -->|nav menu| Customers
    Home -->|nav menu| Users
    Home -->|nav menu| Roles

    Categories -->|row click| CategoryDetail
    Categories -->|create| CategoryCreate
    Products -->|row click| ProductDetailAdm
    Products -->|create| ProductCreate
    Inventory -->|row click| InventoryDetail
    Inventory -->|create| InventoryCreate
    Carts -->|row click| CartDetail
    OrdersAll -->|row click| OrderDetailAdm
    Customers -->|row click| CustomerDetail
    Customers -->|create| CustomerCreate
    ReviewsAdm -->|reviewed product| ProductDetailAdm
    ProductDetailAdm -->|category link| CategoryDetail
    CategoryDetail -->|product link| ProductDetailAdm
    Users -->|row click| UserDetail
    Users -->|customer column| CustomerDetail
    UserDetail -->|view customer| CustomerDetail
    Roles -->|edit role| RoleEdit
    RoleEdit -->|back| Roles

The admin order detail page opens ShipOrderDialog for both shipment actions: "Ship order" on a Paid order and "Edit tracking" on a Shipped one. One dialog instance serves both, and the summary panel picks the endpoint (OrderSummaryPanel.razor:203-212). It is a dialog rather than a route, so it does not appear as a node above. The same page shows the order's shipping label to an admin only (OrderDetail.razor:94).

The admin shopping cart detail page carries a "Checkout" action that checks the customer's cart out on their behalf and stays on the page, reporting the created order in a toast (ShoppingCartDetail.razor:165-170, ShoppingCartDetail.razor.cs:313-329). It is an action, not a navigation, so it adds no edge above.

/reviews is the moderation grid: every review whatever its status, with hide and unhide. The page carries the Admin route guard, and the endpoints behind it carry the finer-grained catalog:reviews:moderate permission (ReviewModerationController.cs:70, :107, :129), which today only the Admin role holds (CatalogPermissionGrants.cs:29).

/users, /users/{Id:int}, /roles and /roles/{Role} are Store pages in the Identity UI module whose roster, operator actions and permission editor come from the framework's shared administration components (UserAdminList at UserList.razor:12, RoleAdminList at RoleList.razor:10, RoleAdminEdit at RoleEdit.razor:10; ADR-116). The role pages carry [HasPagePermission(IdentityPermissions.RolesManage)] (:2) and the user pages [HasPagePermission(AdministrationPermissions.ManageUsers)] (:5). The Users and Roles nav items require the same permissions (IdentityUIModule.cs:27, :28), so the menu never shows a link the page would answer with Forbidden (IdentityUIModule.cs:24-27). The endpoints behind the role pages are gated on the roles:manage capability by the framework's RolesAdminControllerBase (RoleList.razor.cs:23-24), which is the check that decides. Store types the detail route as /users/{Id:int}, with the :int constraint like its other numeric detail routes (UserDetail.razor:1).


Route Contract

This table lists every routable page Store itself ships, one row per route, with the access it requires. Store's NavigationContractTests (architecture tests, a subclass of the shared NavigationContractTestsBase in MMCA.Common.Testing.UI) reads this table and fails the build when a routable page has no row, a row has no page, or a row's Access differs from the page's guard; CI fetches the published copy of this file, so a route or guard change needs its row merged here first. NavItemGuardContractTests checks that every menu item is no looser than the guard of the page it opens, and the guards themselves are also regression-gated by CatalogRouteAuthorizationTests, SalesRouteAuthorizationTests and IdentityRouteAuthorizationTests. Every Store page lives in a module UI project (Catalog, Sales, Identity) except the MAUI head's device-settings page (/settings/device, Source/Hosts/UI/MMCA.Store.UI/Pages/DeviceSettings.razor:1), which only the mobile app routes; the web head declares no @page of its own. Framework-owned routes are listed under Framework-owned routes in the Authorization Model section instead. The Access column uses three forms, each mapped from the page's @attribute line: Anonymous is [Microsoft.AspNetCore.Authorization.AllowAnonymous], Authenticated is a bare [Microsoft.AspNetCore.Authorization.Authorize], and Permission: value is [HasPagePermission(XPermissions.Y)], where the value is the constant's string and the constant comes from CatalogPermissions, IdentityPermissions, SalesPermissions or the framework's AdministrationPermissions (the four classes NavigationContractTests lists). No Store page uses a role gate or another policy-based guard or places its guard on the partial class in the .razor.cs. StoreInfo declares five @page routes under one attribute, so it has five rows. Route parameters are written exactly as the @page directive declares them; Store's nine numeric detail routes are typed {Id:int} and {Role} stays an untyped role name, so the table carries the :int constraint wherever the directive does.

Route Page Access
/about About Anonymous
/catalog CatalogBrowse Anonymous
/catalog/{Id:int} CatalogProductDetail Anonymous
/categories CategoryList Permission: catalog:categories:manage
/categories/create CategoryCreate Permission: catalog:categories:manage
/categories/{Id:int} CategoryDetail Permission: catalog:categories:manage
/checkout Checkout Anonymous
/checkout/return CheckoutReturn Anonymous
/contact StoreInfo Anonymous
/customers CustomerList Permission: identity:customers:manage
/customers/create CustomerCreate Permission: identity:customers:manage
/customers/{Id:int} CustomerDetail Permission: identity:customers:manage
/inventory InventoryItemList Permission: sales:inventory:manage
/inventory/create InventoryItemCreate Permission: sales:inventory:manage
/inventory/{Id:int} InventoryItemDetail Permission: sales:inventory:manage
/orders OrderList Authenticated
/orders/find FindGuestOrder Anonymous
/orders/guest/{Id:int} GuestOrderDetail Anonymous
/orders/{Id:int} OrderDetail Anonymous
/privacy StoreInfo Anonymous
/products ProductList Permission: catalog:products:manage
/products/create ProductCreate Permission: catalog:products:manage
/products/{Id:int} ProductDetail Permission: catalog:products:manage
/profile Profile Authenticated
/returns StoreInfo Anonymous
/reviews ReviewList Permission: catalog:reviews:moderate
/roles RoleList Permission: roles:manage
/roles/{Role} RoleEdit Permission: roles:manage
/settings/device DeviceSettings Anonymous
/shipping StoreInfo Anonymous
/shoppingcarts ShoppingCartList Permission: sales:shopping-carts:manage
/shoppingcarts/{Id:int} ShoppingCartDetail Permission: sales:shopping-carts:manage
/terms StoreInfo Anonymous
/users UserList Permission: users:manage
/users/{Id:int} UserDetail Permission: users:manage

Authorization Model

Three cooperating layers; the API is always the boundary:

  1. Page-level route guards. The 19 admin pages carry [HasPagePermission(...)] for the permission their API states, /profile and /orders carry [Authorize], and the thirteen storefront routes (/catalog and its detail page, /checkout, /checkout/return, /orders/guest/{Id:int}, /orders/find, /about, the five store information routes, and /orders/{Id:int}) are [AllowAnonymous], as is the MAUI head's /settings/device. /orders/{Id:int} is anonymous deliberately (see the customer section; the order API is its gate), and the guest order page likewise defers to the API, where the order's access token is the credential. SSR session-cookie auth (ADR-022, mmca_auth_access HttpOnly cookie) lets these attributes pass on fresh GETs, F5, and new tabs, so deep links never render a protected shell to the wrong actor. Regression-gated by Catalog/Sales/IdentityRouteAuthorizationTests in CI for all 19 admin pages, the /users pair included (IdentityRouteAuthorizationTests.cs:29-35); SharedOrderPages_AreNotAdminGated keeps the shared order pages off any role gate and any page permission (SalesRouteAuthorizationTests.cs:45). The full route-by-route list is the Route Contract section above.
  2. API resource ownership (ADR-033). OwnerOrAdminFilter 403s requests whose customer_id claim mismatches the owner parameter, and OwnershipHelper.GetOwnershipSpecification() row-scopes collection queries so customers only ever receive their own carts/orders. Per-mutation checks on orders return 404-not-403 to avoid leaking existence. Guest orders have no customer: the anonymous guest-order actions (read, pay, cancel) take the order's access token in a request header and answer any refusal with NotFound, so they cannot be used to learn which order numbers exist (GuestOrdersController.cs:24-31); the anonymous link request answers 202 whatever it matched and sends the new link only to the address already on the order (:188-216); only the claim into an account requires a signed-in caller (:131-132).
  3. In-page conditionals. AuthorizeView and role checks shape the page per actor: the framework app bar renders a module's AppBarComponentTypes for a signed-in principal only and its PublicAppBarComponentTypes for every visitor (MMCA.Common v1.265.1 MainLayout.razor:43-57), and Store puts both of its app bar components, CartButton and StoreSearchBox, in the public slot (SalesUIModule.cs:33, CatalogUIModule.cs:31); /orders renders the order cards for a customer and the grid for an admin (OrderList.razor:24-29); the guest order page offers "add to my account" or "create an account" by sign-in state (GuestOrderDetail.razor:157-196); and admin-only affordances (shipment actions, the shipping label, review moderation inside the product page) render only for the Admin role (OrderDetail.razor.cs:107-112, ProductReviewsPanel.razor.cs:108). These are UX sugar on top of layers 1-2, never the enforcement.

Menu items are rendered per role, so each actor's nav menu contains only the routes shown in their diagram above, plus the framework-owned routes below, which the shared MMCA.Common.UI shell contributes to every host. The framework NavMenu always renders Home, and filters every module item by its required role (NavMenu.razor:108, :263); the "Shop" item carries no role, so anonymous visitors see it beside Login and Register (CatalogUIModule.cs:22, NavMenu.razor:98-103), while the "My Account" and "Administration" sections render only for a signed-in user (NavMenu.razor:130, :157). The Store footer links (shop, find my order and the five store information pages) render on every page for every actor (StoreFooterLinks.razor:13-19).

Framework-owned routes. These routes come from the MMCA.Common.UI and MMCA.Common.UI.Web packages rather than from a Store module; the UI host routes those assemblies alongside its own (UI.Web/Program.cs:121-124). None of them has a row in the Route Contract table:

  • / (home) is the framework page (MMCA.Common.UI/Pages/Home.razor:1, [AllowAnonymous] at :6), filled with Store's own content through IHomePageContent; no Store page declares @page "/". /login, /register, /forgot-password and /reset-password are framework pages too, each [AllowAnonymous] (Pages/Auth/Login.razor:23, Register.razor:19, ForgotPassword.razor:8, ResetPassword.razor:12), as are the shell's /not-found and /forbidden pages (NotFound.razor:7, Forbidden.razor:5) and /auth/oauth-complete (OAuthComplete.razor:12), which Store never links to because it configures no external sign-in provider. The not-found page shows Store's own content through IUIModule.NotFoundContentType (CatalogUIModule.cs:37). /Error is the shared server-rendered error page from MMCA.Common.UI.Web (Components/Pages/Error.razor:1, [AllowAnonymous] at :3).
  • /profile/sessions (active refresh sessions, [Authorize] at Sessions.razor:5) is rendered in the nav for every signed-in user, Customer and Admin alike, by the framework NavMenu (MMCA.Common.UI/Layout/NavMenu.razor:91-94); a host can restrict the link to one role with Layout:SessionsNavRequiredRole (read at NavMenu.razor:258-259), which Store deliberately leaves unset so customers can review and revoke their own sessions.
  • /confirm-email is the anonymous email-confirmation landing page (MMCA.Common.UI/Pages/Auth/ConfirmEmail.razor:1, [AllowAnonymous] at :3). Store serves the framework page rather than a copy of its own (Store commit 65b53f5a), and the Identity service points the confirmation link at it (ConfirmationUrl, Identity.Service/appsettings.json:124). It has no nav item: a visitor reaches it only from the link in the confirmation email.
  • /notifications, /notifications/inbox (with /notifications/inbox/{Id:int}) and /notifications/send ship in the same package behind the framework's notification-page policies (NotificationList.razor:9, NotificationInbox.razor:7, NotificationSend.razor:10). Store registers no notification services (no NotificationUIModule) and sets no Layout flag for them: the framework router answers all four routes with the not-found page on every head that registers no NotificationUIModule, the MAUI head included (MMCA.Common.UI/Routes.razor:14-20, Notifications/NotificationPageGate.cs:20-21, :26-27), with a 404 status on a server render (Routes.razor:21-22). They have no nav item and are not a Store surface.
  • The installable web app adds no page: /service-worker.js is an endpoint mapped by app.MapCommonServiceWorker() (UI.Web/Program.cs:280-281, ADR-136), its offline fallback is the static _content/MMCA.Common.UI.Web/offline.html (service-worker.js:11), and the web head's manifest.webmanifest starts the installed app at /.