SEC-13B
✓ Fully Implemented
Difference Between JAKIM National Reporting Access & MAIN State-Level Access (/jakim/subscription)
Side-by-side architectural and operational comparison between JAKIM national-level reporting access and Majlis Agama Islam Negeri (MAIN) state-level reporting access.
Step-by-Step Instructions
1. Key Differences: JAKIM (National Scope) vs. MAIN (State Scope)
While both authorities share the institutional reporting engine (`institution/dashboard.php` and `functions/reports.php`), strict authorization rules separate their capabilities:
- Geographic Jurisdiction Scope:
- MAIN: Configured with `jurisdiction_mode = 'state'`. Restricted strictly to the specific state(s) verified in `institution_state_access`.
- JAKIM: Configured with `jurisdiction_mode = 'nationwide'`. Validated by `institution_nationwide_scope_valid()` to ensure verified grants exist for all 16 Malaysian states and federal territories.
- Available Report Catalogue:
- MAIN: Can run the 5 reports where `state_allowed = 1` (`mosque_directory`, `mosque_status_summary`, `mosque_by_district`, `mosque_activity_summary`, `activity_categories`).
- JAKIM: Can run all 8 reports where `national_allowed = 1`, including the 3 nationwide comparative reports: `national_mosque_directory`, `mosque_by_state`, and `national_activity_summary`.
- Dedicated Routes & Subscription Plans:
- MAIN: Uses `/main/dashboard`, `/main/reports`, and `/main/subscription` (`main-standard`: RM 500/month or RM 5,400/year).
- JAKIM: Uses `/jakim/dashboard`, `/jakim/reports`, and `/jakim/subscription` (`jakim-standard`: RM 2,000/month or RM 21,600/year).
Verified Screenshots & UI Reference
Input Fields & Options Reference
| Capability / Rule | Majlis Agama Islam Negeri (MAIN) | JAKIM (National Authority) |
|---|---|---|
institution_type | main | jakim |
jurisdiction_mode | state | nationwide (requires all 16 states verified) |
| Dashboard Route | /{lang}/main/dashboard | /{lang}/jakim/dashboard |
| Primary Breakdown Chart | Mosques by District (within state) | Registered Mosques by State (all 16 states) |
| National-Only Reports | Blocked (`403 Forbidden`) | national_mosque_directory, mosque_by_state, national_activity_summary |
| Standard Billing Plan | main-standard (RM 500/mo, RM 5,400/yr) | jakim-standard (RM 2,000/mo, RM 21,600/yr) |
Expected Results
Authority officers and platform administrators clearly understand the separation between state-level MAIN access and nationwide JAKIM access.
Important Notes & Data Boundaries: Neither MAIN nor JAKIM can access individual kariah member personal records or disabled financial placeholders.
Common Errors & Troubleshooting
Super Administrators can provision and verify MAIN and JAKIM institutions and their state grants at /{lang}/admin/institutions.