{
    "release": "DIAR-6B.5-R2.7.1",
    "created_at": "2026-07-25T15:26:02+03:00",
    "roles": {
        "DIAR_EXECUTIVE_VIEWER": null,
        "DIAR_AUDIT_DIRECTOR": {
            "role_code": "DIAR_AUDIT_DIRECTOR",
            "role_name_en": "DIAR Audit & Compliance Director",
            "role_name_ar": "مدير التدقيق والامتثال في DIAR",
            "role_description_en": "Provides management approval, reopening authority and full controlled workflow oversight.",
            "role_description_ar": "يتولى الاعتماد الإداري وإعادة الفتح والإشراف الكامل على مسار العمل المنضبط.",
            "policy_mode": "EXPLICIT",
            "auto_include_new": "0",
            "all_branches": "1",
            "is_system_role": "0",
            "is_protected": "0",
            "is_active": "1",
            "updated_by": "DIAR-6B.4-R2.1",
            "updated_at": "2026-07-24 20:00:48"
        },
        "DIAR_INV_SUPERVISOR": {
            "role_code": "DIAR_INV_SUPERVISOR",
            "role_name_en": "DIAR Investigation Supervisor",
            "role_name_ar": "مشرف تحقيقات DIAR",
            "role_description_en": "Manages assignment, supervisor review and corrective-action closure within assigned branches.",
            "role_description_ar": "يدير التعيين ومراجعة المشرف والإجراءات التصحيحية والإغلاق ضمن الفروع المسندة.",
            "policy_mode": "EXPLICIT",
            "auto_include_new": "0",
            "all_branches": "0",
            "is_system_role": "0",
            "is_protected": "0",
            "is_active": "1",
            "updated_by": "DIAR-6B.4-R2.1",
            "updated_at": "2026-07-24 20:00:48"
        },
        "DIAR_INVESTIGATOR": {
            "role_code": "DIAR_INVESTIGATOR",
            "role_name_en": "DIAR Investigator",
            "role_name_ar": "محقق DIAR",
            "role_description_en": "Reviews assigned cases, records evidence and proposes findings without final approval.",
            "role_description_ar": "يراجع القضايا المسندة ويسجل الأدلة ويقترح النتائج دون اعتماد نهائي.",
            "policy_mode": "EXPLICIT",
            "auto_include_new": "0",
            "all_branches": "0",
            "is_system_role": "0",
            "is_protected": "0",
            "is_active": "1",
            "updated_by": "DIAR-6B.4-R2.1",
            "updated_at": "2026-07-24 20:00:48"
        },
        "DIAR_STAT_ANALYST": null,
        "DIAR_PLATFORM_DEVELOPER": null,
        "DIAR_PLATFORM_DEVELOPER_ELEVATED": null,
        "DIAR_READ_ONLY_AUDITOR": {
            "role_code": "DIAR_READ_ONLY_AUDITOR",
            "role_name_en": "DIAR Read-only Auditor",
            "role_name_ar": "مدقق DIAR للقراءة فقط",
            "role_description_en": "Broad evidence and report visibility with no workflow write, approval or settings rights.",
            "role_description_ar": "اطلاع واسع على الأدلة والتقارير دون كتابة أو تعيين أو اعتماد أو صلاحيات إعدادات.",
            "policy_mode": "EXPLICIT",
            "auto_include_new": "0",
            "all_branches": "1",
            "is_system_role": "0",
            "is_protected": "0",
            "is_active": "1",
            "updated_by": "DIAR-6B.4-R2.1",
            "updated_at": "2026-07-24 20:00:48"
        }
    },
    "overrides": {
        "DIAR_EXECUTIVE_VIEWER": [],
        "DIAR_AUDIT_DIRECTOR": [
            {
                "permission_code": "diar.cases.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.executive.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.assign",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.close",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.corrective_action",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.escalate",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.evidence",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.finding.propose",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.management_approve",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.reopen",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.request_information",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.review",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.supervisor_review",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.portal.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.reports.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            }
        ],
        "DIAR_INV_SUPERVISOR": [
            {
                "permission_code": "diar.cases.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.assign",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.close",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.corrective_action",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.escalate",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.evidence",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.finding.propose",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.management_approve",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.reopen",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.request_information",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.review",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.supervisor_review",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.portal.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.reports.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            }
        ],
        "DIAR_INVESTIGATOR": [
            {
                "permission_code": "diar.cases.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.assign",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.close",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.corrective_action",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.escalate",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.evidence",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.finding.propose",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.management_approve",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.reopen",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.request_information",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.review",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.investigation.supervisor_review",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.portal.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.reports.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            }
        ],
        "DIAR_STAT_ANALYST": [],
        "DIAR_PLATFORM_DEVELOPER": [],
        "DIAR_PLATFORM_DEVELOPER_ELEVATED": [],
        "DIAR_READ_ONLY_AUDITOR": [
            {
                "permission_code": "diar.cases.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.executive.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.assign",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.close",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.corrective_action",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.escalate",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.evidence",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.finding.propose",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.management_approve",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.reopen",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.request_information",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.review",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.supervisor_review",
                "effect": "DENY",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.investigation.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4",
                "updated_at": "2026-07-24 23:25:10"
            },
            {
                "permission_code": "diar.portal.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.reports.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "diar.statistics.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            },
            {
                "permission_code": "technical.evidence.view",
                "effect": "ALLOW",
                "updated_by": "DIAR-6B.4-R2.1",
                "updated_at": "2026-07-24 20:00:48"
            }
        ]
    }
}