Skip to Content
HomeLink Hub

Roles and Access

The six user roles, the app each one lands in, and the gates the API enforces.

Roles

Every account has exactly one role, stored on the user as role. The value is set at sign-up and can later be changed only by an admin.

RoleValueUsesCan do
TenantTENANTTenant web app, mobile appSearch, save listings, request inspections, pay, chat with agents, review properties
LandlordLANDLORDDashboard, mobile appEverything an agent can, as the owner of the listing; receives sale and rent proceeds
AgentAGENTDashboard, mobile appCreate and manage listings, answer inspection and payment requests, earn commission
LawyerLAWYERLawyer portal, mobile appAccept partnership invites, review listing documents, approve or reject listings
DeveloperDEVELOPERDashboardTreated like a listing owner at sign-up; no role-specific screens yet
AdminADMINAdmin panelManage users, oversee inspections, resolve duplicate listings, withdraw platform earnings, change settings

TENANT is the default role at sign-up. ADMIN cannot be chosen at sign-up: the first admin is seeded when the service starts, and further admins are promoted from the admin panel.

How the API decides

Three checks run in this order on a protected endpoint:

  1. Authentication. The Authorization: Bearer <token> header must hold a valid access token. The token's user is loaded and attached to the request. See Authentication.
  2. Role. Endpoints restricted to roles reject everyone else with 403. Admin endpoints require ADMIN; lawyer decisions require LAWYER. Each endpoint page lists its roles.
  3. Ownership and state. Most rules live here, in the controller: only the listing's landlord can edit it, only the buyer can release an escrow, only a funded escrow can be completed. Each endpoint page describes them.

Many endpoints rely on ownership, not role

A number of endpoints carry no role check at all and depend on ownership alone, and a few sensitive ones are public. The endpoint pages say so where it applies. Read the access line at the top of each page instead of assuming.

Email verification

A password account cannot sign in until its email is verified. Web sign-ups get a link; mobile sign-ups get a 4-digit code that lasts 15 minutes. Accounts created with Google or Apple are verified from the start.

KYC

Listing owners must pass identity verification before they can create a listing, including a draft.

StatusMeaning
PENDINGCreated for every new agent and landlord. Nothing submitted yet.
AWAITING_LIVENESSThe NIN matched in the two-step flow; the liveness step is not available yet.
VERIFIEDThe NIN lookup matched the account's name. isKYCVerified is true.
REJECTEDThe check failed.

Today only a matching NIN verifies an account. A driver's licence or CAC lookup is stored but does not verify it, and BVN is not supported.

Where each role signs in

AppRoles allowedWhat happens to other roles
Tenant web appAnyoneListing owners are pointed to the dashboard
DashboardAGENT, LANDLORD, DEVELOPERLawyers are routed to the lawyer portal in the same app
Lawyer portalLAWYEROther roles are routed to the dashboard
Admin panelADMINSign-in is refused
Mobile appTENANT, AGENT, LANDLORD, LAWYERThe role picks the navigator the user lands in

The guides for each app describe the exact guards and redirects.

On this page