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¶
- Query
SecurityOverride(CL_SECURITY_OVERRIDE) whereClaimIdequals the claim,EmplIdequals the employee, andEffDate <= today <= ExpDate(SD-BR-020, SQL-073). - 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).
Related documentation¶
Sources¶
Data/SAIF.Data/Queries/Claims/ClaimSecurityOverrideProvider.csData/SAIF.Data/Queries/Claims/ClaimSecurityOverrideProvider.cs:18