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-04E ✓ Fully Implemented

Role-Permission Matrix & Managing Permissions at /admin/permissions

Step-by-step guide to inspecting and updating the role-permission matrix at /admin/permissions, with a complete reference table of all global and mosque permissions.

Fully Implemented: This module is fully implemented and active in the current Kariahku.com system.
Purpose of Function Allow Super Administrators to audit and configure role permissions safely while preserving Super Admin immutability.
Prerequisites Signed in as `super_admin` (`permissions.manage`). Anyone can view the live read-only matrix at `/{lang}/manual/roles`.
Required User Permissions Global permissions.manage (Super Admin)
System Route /admin/permissions

Step-by-Step Instructions

1. Viewing the Live Role-Permission Matrix

  1. Open the dedicated Role & Permission Matrix page at /{lang}/manual/roles in this Help Center to inspect the live matrix queried directly from the database.
  2. To modify role permissions, sign in as a Super Admin and click Permissions in the admin sidebar (/{lang}/admin/permissions).

2. Updating Role Permissions at /admin/permissions

  1. In the matrix table on /admin/permissions, each row represents a permission code and each column represents a role (super_admin, portal_admin, mosque_admin, mosque_editor, mosque_member).
  2. Notice that checkboxes under the Super Admin column are checked and locked (disabled) because super_admin permanently holds all permissions.
  3. Check or uncheck permissions for the remaining roles as required by your governance policy.
  4. Click Save at the bottom of the form.
  5. The system updates role_permissions inside a database transaction and writes a permissions.updated record to audit_logs.

Verified Screenshots & UI Reference

Role Permission Matrix administration screen (/admin/permissions) and live matrix view. 🔍 Click image to enlarge preview

Input Fields & Options Reference

Permission CodeScopeControlled Capability
portal.accessGlobalBaseline access to portal administration views.
users.manageGlobalManage user account status and global roles at /admin/users.
mosques.reviewGlobalReview, approve, or reject mosque registration applications at /admin/mosques.
mosques.manageGlobalEdit mosque records and suspend/reactivate mosques at /admin/mosques.
portal.content.manageGlobalManage trilingual CMS pages and announcements at /admin/cms.
platform.dashboard.viewGlobalView platform-wide metrics at /admin/dashboard.
reports.platform.viewGlobalView platform summary reports at /admin/reports.
reports.content.viewGlobalView content and activity metrics at /admin/reports.
audit.viewGlobalInspect security audit logs at /admin/dashboard and /admin/reports.
permissions.manageGlobalModify role permissions at /admin/permissions.
portal.activities.featureGlobalManage activity categories and featured portal activities.
subscriptions.manageGlobalManage subscription plans, prices, discounts, and lifecycle overrides at /admin/subscriptions.
payments.manageGlobalManage payment gateways, verify manual transfers, and view revenue reports at /admin/payments.
institutions.manageGlobalCreate and verify MAIN and JAKIM institutions at /admin/institutions.
manual.manageGlobalManage User Manual categories, trilingual articles, screenshots, and FAQs at /admin/manual.
mosque.accessMosqueAccess the mosque tenant workspace at /mosque-admin.
mosque.manageMosqueManage mosque profile, microsite, committee, activities, prayer zone, staff, and kariah members.
mosque.publishMosquePublish mosque announcements and editorial items.
subscriptions.viewMosqueView and pay mosque subscription invoices at /mosque-admin/subscription.
kariah.members.exportMosqueExport the mosque kariah member directory to CSV at /mosque-admin/kariah-members?export=csv.

Expected Results

Permission updates take effect immediately on the next request and are recorded in `audit_logs`.
Important Notes & Data Boundaries: The `super_admin` role is hard-protected so administrators can never accidentally lock themselves out of permission management.

Common Errors & Troubleshooting

If a user does not see newly granted links right away, ask them to refresh their browser page.