Skip to main content
Source snapshot: 13 October 2026. These pages describe the current implementation, including unfinished controls. See coverage and review notes.

User access and accounts

Host: control.<ROOT_DOMAIN> · Route: /users

Purpose and access

Manage platform-wide account identities, platform roles, tenant memberships, passwords, status, and sessions.You need an account session and platform access. Platform privileges are separate from tenant roles; privileged writes remain subject to endpoint role checks.

Screen layout

The screen has search, role/tenant/status filters, pagination, and selectable rows. Dialogs cover account creation, profile editing, platform role, Mahalle memberships, direct password reset, and single/bulk deletion.

Fields and displayed information

Displayed table columns: User, Contact, Platform Role, Mahalle Access & Roles, Active Sessions, Status, Actions.

Fields and filters: Users management view

Actions

Interaction sequence

Create User → enter identity/password and optional initial access → save. Row actions edit identity, assign/revoke platform access, add/remove tenant membership, reset password with optional session termination, suspend/reactivate, terminate sessions, or delete after confirmation.

States and rules

Accounts are distinct from tenant citizen members. Destructive and access-changing operations are backend-gated. Reset Password can terminate sessions; profile editing alone does not change credentials.Explicit validation messages in the rendered forms:
  • Password must be at least 8 characters long
  • Passwords do not match
The rendered action controls bind loading indicators to pending state. Failed API saves keep their documented error/notification path; a loading indicator alone does not establish persistence.

Implementation references

Paths below are relative to the application repository. This is source-reviewed behavior, not a recorded browser test.
  • apps/web/src/app/sites/control/(app)/users/page.tsx
  • apps/web/src/features/platform/users-management-view.tsx
Data and access helpers: apps/web/src/lib/platform.ts, apps/web/src/lib/server-api.ts, apps/web/src/lib/api-client.ts

API behavior references

  • apps/api/src/platform/platform-tenant-access.controller.ts
  • apps/api/src/platform/platform.controller.ts
  • apps/api/src/billing/plans.controller.ts
  • apps/api/src/billing/tenant-billing.controller.ts
  • apps/api/src/features/features.controller.ts
  • apps/api/src/features/tenant-features.controller.ts
  • apps/api/src/forms/forms.controller.ts
  • apps/api/src/analytics/analytics.controller.ts
  • apps/api/src/analytics/tenant-analytics.controller.ts