Connecting mosques and communities
📖 Help Center & User Manual · Documentation Version 1.0

Kariahku.com User Manual & Help Center

Official step-by-step documentation for the Kariahku.com Multi-Tenant Mosque Management System.

SEC-B1 ◐ Partially Implemented

Accessing Kariahku.com, Registering User Accounts & Email Verification Status

Step-by-step instructions for accessing Kariahku.com, understanding how login accounts are provisioned versus public Mosque/Kariah applications, and email verification status.

Partially Implemented: Portions of this workflow operate via administrator CLI commands or external registration links.
Purpose of Function Clarify how users access the platform and how authenticated accounts are provisioned and verified in the current Kariahku.com security architecture.
Prerequisites Modern web browser; server CLI access for provisioning new login accounts.
Required User Permissions Public Access / Global users.manage for User Administration
System Route /admin/users

Step-by-Step Instructions

1. Accessing Kariahku.com

  1. Open your web browser and navigate to the platform URL (e.g., https://kariahku.com/ or http://localhost/en).
  2. The router automatically resolves your active language prefix (/ms, /en, or /ar).
  3. Public visitors can immediately browse the mosque directory, prayer times, activities, mosque registration form (/register-mosque), and kariah membership form (/kariah-register) without logging in.

2. Registering a New User Account (Current Architecture)

Important Architectural Note: To protect tenant and institutional governance, Kariahku.com does not expose a public self-service user account signup form. Instead, three distinct registration workflows exist:

  1. Provisioning Authenticated Login Accounts (users table): Login accounts for Platform Administrators, Mosque Administrators, and MAIN/JAKIM Officers are provisioned via the official management CLI:
    php database/manage.php create-user "Full Name" "user@example.my" "StrongPassword123!"
    or for a Super Administrator:
    php database/manage.php create-admin "Admin Name" "admin@kariahku.com" "StrongPassword123!"
  2. Assigning Roles & Account Status: A Super Admin signs in to /admin/users to assign global roles (super_admin or portal_admin) or toggle user status between active and suspended.
  3. Public Mosque & Kariah Applications: Mosque representatives apply at /register-mosque (linking applicant_email to an active users account upon approval), while community members apply at /kariah-register (creating records in kariah_people and kariah_members without creating a login account).

3. Email Verification Status

Implementation Status: Automated self-registration email verification links are not implemented because public self-signup for login accounts is disabled by design. Identity and eligibility verification are performed through:

  • Mosque Document Verification: Platform administrators inspect uploaded supporting documents at /admin/mosques and verify that an active users account matches applicant_email prior to approval.
  • Kariah Application Review: Mosque administrators verify and approve community member applications at /mosque-admin/kariah-members.

Verified Screenshots & UI Reference

User account management and role assignment at /admin/users alongside public registration workflows. 🔍 Click image to enlarge preview

Input Fields & Options Reference

Field / ParameterLocationDescription & Validation Rules
nameCLI create-user / users.nameFull name of the account holder (up to 150 characters).
emailCLI create-user / users.emailValid unique email address (up to 254 characters, normalized to lowercase).
passwordCLI create-userMust be between 12 and 72 characters; hashed with password_hash(..., PASSWORD_DEFAULT).
status/admin/usersAccount status: active (login permitted), pending, or suspended (login blocked).

Expected Results

An active user record is created in the `users` table and can be assigned global, mosque, or institutional roles.
Important Notes & Data Boundaries: Before approving a mosque registration at `/admin/mosques`, ensure an active `users` account matching `applicant_email` has been created.

Common Errors & Troubleshooting

Error: "Create or activate the applicant user account matching applicant_email before approving this mosque."
Solution: Provision the user account via php database/manage.php create-user using the applicant’s exact email address, then approve the mosque at /admin/mosques.