Identity and role model

ApplicationUser is the Membership identity; AspNetRole, AspNetPermission, AspNetRolePermission and AspNetRoleUser connect users to permission bundles. Person belongs to the operational employee graph. Role IDs have historical gaps; never renumber them to make a tidy sequence. Exact role scope and backend/frontend permission counts conflict across snapshots.

AuthenticationRequest carries username/password; AuthenticationResponse includes access_token, refresh_token, status and context. Claims include user identity, organisation/company, roles, permissions and context. Organisation/company claim values are encrypted in the source; clients must not manufacture tenant scope.

Verified route families

Method Routes
POST Identity/Authenticate; Identity/Control/Authenticate; Identity/OAuth/Authenticate; Identity/Sso/Authenticate
GET Account/2fa/Details; Account/2fa/Setup_Info; Account/2fa/Admin_Setup_Info
POST Account/2fa/Enable; Disable; SendCode; VerifyCode; Enable_Admin; VerifyAdminCode, relative to Account/2fa
POST Account/ForgotPassword; SendPasswordResetEmail; ResetPassword; CompletePasswordReset; SetPassword; CreatePassword; Logout; VerifyToken, relative to Account
GET Account/ConfirmEmail; CheckSession; GetUserSession; GetCompanySession, relative to Account
GET Admin/Roles/View/New; View/Edit; Select_Permissions; Select_Role_Permissions; Select_Role_Details; Check, relative to Admin/Roles
POST / PUT / DELETE Admin/Roles/Create (POST); Update and Update_Permissions (PUT); Delete (DELETE)
POST / PUT Add_Users, Remove_Users, Add_RolesToUser, Remove_RolesFromUser (POST); Update_Users, Update_UserRoles (PUT), relative to Admin/Roles

The table mixes full first paths with explicitly relative actions; expand them under the stated base, not under the previous row's method. Role listing differs as Select_Roles versus List_Roles across sources: verify the controller version. RefreshAccessToken is a sourced service method, not an exact wire route established here. Password/reset and 2FA DTOs, rate limits, revocation and error contracts need deployment inspection. Control accounts are internal-only, never a tenant support bypass.

Additional reconciliation source: Settings & roles — technical / engineering documentation

Source scope

Identity, tenancy & authorization — business view · Identity, tenancy & authorization — technical view · Identity & access — configuration · Identity, tenancy & authorization — API reference · Identity & access — user journeys · Identity & access — runbook

July Identity evidence conflicts with the more detailed Settings source on permission counts, universal owner bypass and server enforcement. Preserve the distinction: frontend owner bypass is observed in source; the shared server handler checks explicit permission rows without a universal PrimaryAdminHasFullAccess shortcut. Exact deployed guards, catalog counts, revocation/refresh, 2FA policy and SSO setup need validation.