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.

Kariahku.com Multi-Tenant Mosque Management System

SEC-04C — Government / Religious Authority Roles (MAIN & JAKIM) and Community Users

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

Documentation Version: 1.0
Generated On: 2026-12-05 00:45 UTC
Articles: 1

Table of Contents

  1. [SEC-04C] Government / Religious Authority Roles (MAIN & JAKIM) and Community Users — Section 4: User Roles and Permissions
SEC-04C · Section 4: User Roles and Permissions ✓ Fully Implemented

Government / Religious Authority Roles (MAIN & JAKIM) and Community Users

Complete documentation for State Islamic Religious Council (MAIN) and JAKIM institutional roles (administrator and report_viewer), registered kariah members, and general public users.

Purpose of Function Explain how MAIN and JAKIM officers access jurisdiction-scoped aggregate dashboards and clarify the role of registered kariah members and public visitors.
Prerequisites An active institution record in `institutions` with verified state grants in `institution_state_access`.
Required User Permissions Role Reference / Global institutions.manage for Provisioning

C. Community Users

1. Registered Kariah Members

  • Role Description: Muslim residents who submitted a kariah membership application via /kariah-register and were approved by a Mosque Administrator into kariah_people and kariah_members.
  • Login & Access Process: Registered kariah members do not require or receive a system login account (users). Kariah membership is a mosque-level community registry record.
  • Allowed Actions: Browse all public portal pages, mosque microsites (/masjid/{slug}), prayer times, activity calendars, and submit kariah membership applications.
  • Privacy Protection: National IC numbers are never collected. Residential addresses and phone numbers are visible only to authorized Mosque Administrators of that specific mosque and are never exposed publicly or to MAIN/JAKIM dashboards.

2. General Public Users

  • Role Description: Unauthenticated visitors browsing the platform.
  • Available Modules: Homepage (/), Mosque Directory (/mosques), Mosque Microsites (/masjid/{slug}), Activities (/activities), Prayer Times (/prayer-times), Mosque Registration (/register-mosque), Kariah Registration (/kariah-register), and the User Manual (/manual).

D. Government / Religious Authorities (institution_users Table)

Authority users are bound to an active institution record in institutions (main or jakim) via institution_users with one of two institutional roles:

1. Majlis Agama Islam Negeri (MAIN) Authorized Users — institution_type = 'main'

  • Routes: /{lang}/main/dashboard, /{lang}/main/reports, and /{lang}/main/subscription.
  • Institutional Sub-Roles:
    • administrator: Holds all 5 institutional permissions (dashboard.view, reports.view, reports.export, subscription.view, subscription.renew). Can generate renewal invoices and initiate checkout.
    • report_viewer: Holds dashboard.view, reports.view, reports.export, and subscription.view (read/export reports and view billing only).
  • Data Access Boundaries: Strictly restricted to states with a verified grant (verified_by IS NOT NULL) in institution_state_access. MAIN institutions cannot be granted nationwide mode.

2. JAKIM Authorized Users — institution_type = 'jakim'

  • Routes: /{lang}/jakim/dashboard, /{lang}/jakim/reports, and /{lang}/jakim/subscription.
  • Institutional Sub-Roles: Supports administrator and report_viewer.
  • Data Access Boundaries: Requires jurisdiction_mode = 'nationwide' and verified grants across all 16 Malaysian states and federal territories. Access is strictly limited to aggregate registered-mosque metrics; individual kariah member PII and sensitive financial modules are excluded.
MAIN & JAKIM institution governance (/admin/institutions) and community user roles.
MAIN & JAKIM institution governance (/admin/institutions) and community user roles.

Input Fields & Options Reference

Institution RoleGranted PermissionsCapability Difference
administratordashboard.view, reports.view, reports.export, subscription.view, subscription.renewCan view/export aggregate reports and generate/pay subscription renewal invoices.
report_viewerdashboard.view, reports.view, reports.export, subscription.viewCan view/export aggregate reports and view billing status (cannot renew subscription).
Expected Results: Users understand community access rules and the exact distinction between MAIN and JAKIM institutional roles.
Important Notes & Data Boundaries: Institutional dashboard and report access requires an active (`active`, `trialing`, or `grace_period`) institutional subscription.

Common Errors & Troubleshooting

If a MAIN or JAKIM user encounters "Institutional reporting requires an active subscription", an institutional administrator can still access /main/subscription or /jakim/subscription to renew and pay.