Skip to content

Claim security override check

Determine whether an employee has a security override permitting access to a restricted claim.

Field Value
Operation ID OP-SD-08
Trigger Access check for an employee against a claim.
Inputs Claim id, employee id
Outputs bool
Primary components ClaimSecurityOverrideProvider.HasClaimSecurityOverride
Entry point Data/SAIF.Data/Queries/Claims/ClaimSecurityOverrideProvider.cs

Steps

  1. Query SecurityOverride (CL_SECURITY_OVERRIDE) where ClaimId equals the claim, EmplId equals the employee, and EffDate <= today <= ExpDate (SD-BR-020, SQL-073).
  2. Return true if any row matches.

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
    Start([Access check for an employee against a claim.]) --> S1["`ClaimSecurityOverrideProvider.HasClaimSecurityOverride`"]
    S1 --> S2{"Rules satisfied?"}
    S2 -->|Yes| EndOk([Result returned])
    S2 -->|No| EndErr([Exception / empty result])

Failure and edge-case behavior

  • No matching row: returns false (no override).

Sources

  • Data/SAIF.Data/Queries/Claims/ClaimSecurityOverrideProvider.cs
  • Data/SAIF.Data/Queries/Claims/ClaimSecurityOverrideProvider.cs:18