Skip to content

MOD ESS 001 IAM

Domain specifications / D10-ESS / 5. Detailed Functional Requirements / 5.1 Module Specification: Enterprise Identity and Access Management

5.1 Module Specification: Enterprise Identity and Access Management

5.1.1 Module Overview

Module ID: MOD-ESS-001 (module code IAM)

Purpose: Give every human user one unique account linked to workforce identity, employment and credential status, organizational unit, assigned roles and permitted locations, and give every non-human workload a scoped, owned and separately audited service identity (PRS 4.2). The module authenticates users, applies multi-factor authentication where policy requires it, and supports least privilege and periodic recertification.

Business Capabilities: - CAP-ESS-001 Workforce and service identity management

Primary Actors: - Identity and access administrator (ACT-ESS-001), access approver (ACT-ESS-002), workforce user (ACT-ESS-011), external identity source (ACT-ESS-014), calling domain service (ACT-ESS-013)

Dependencies: - MOD-ESS-005 for practitioner, organization and location reference data; MOD-ESS-006 for audit; MOD-ESS-008 for approval and review tasks. - External HR and credentialing sources for employment and credential facts. - Domain 2 (ISE) for secret and certificate storage and rotation, mutual TLS and network controls (SEC-009, SEC-018).

5.1.2 Functional Area: Workforce Identity and Account Lifecycle

Functional Area ID: FA-ESS-001

Description: Creation, change, suspension and deactivation of workforce accounts in step with employment and credential status.

Scope: - Included: account records, link to workforce identity and practitioner record, account states, joiner, mover and leaver processing. - Excluded: patient and representative accounts (Domain 7); the HR system of record itself.

5.1.3 Functional Area: Authentication and Session Assurance

Functional Area ID: FA-ESS-002

Description: Sign-on, multi-factor authentication, re-authentication for high-impact actions, and session control.

Scope: - Included: authentication policy, factor enrolment including the badge PIN, session issue, screen lock and revocation, account blocking after failed sign-ins, second-person authorization in place. - Excluded: electronic signature semantics of clinical documents (Domain 3); network access control (Domain 2).

5.1.4 Functional Area: Service Identity

Functional Area ID: FA-ESS-003

Description: Registration, scoping, ownership and audit of non-human identities.

Scope: - Included: the service identity register, scopes, owner, lifecycle, link to the workload it represents, registered wall-display devices. - Excluded: the mechanism that stores and rotates the credential, certificate issue and revocation, mutual TLS (Domain 2).

5.1.5 Functional Area: Role Administration and Recertification

Functional Area ID: FA-ESS-004

Description: Role catalogue, role assignment with scope and validity, least privilege and periodic access review.

Scope: - Included: role definitions, permission sets, assignment, segregation-of-duties rules, recertification campaigns. - Excluded: care-team and patient assignment facts, which are owned by Domains 1 and 3 and consumed as attributes.

5.1.6 Detailed Requirements

Requirement FR-ESS-IAM-001: Unique Workforce Identity and Account Lifecycle

Attribute Description
Requirement ID FR-ESS-IAM-001
Requirement Name Unique workforce identity and account lifecycle
Requirement Type Functional
Module Enterprise Identity and Access Management
Functional Area FA-ESS-001 Workforce identity and account lifecycle
Priority Must
Criticality Critical
Requirement Status Draft
Source PRS section 4.2; SEC-001; PRS 25.1 "Right people"
Related Business Rule BR-ESS-001, BR-ESS-002, BR-ESS-003
Related Workflow WF-ESS-001

1. Requirement Statement

The system shall maintain exactly one account for each human user, linked to that person's workforce identity, employment and credential status, organizational unit, assigned roles and permitted locations, shall prohibit shared generic accounts for clinical access, and shall change the account's state when the underlying employment or credential status changes.

2. Business Rationale

Access logs must identify a unique human actor (SEC-001). An account that outlives employment or a lapsed credential is a privacy and patient-safety exposure.

3. Actors and Permissions

Actor Permission Conditions
Identity and access administrator Create / Read / Update (state, attributes) On an identity-source event or an approved request; cannot approve own access
External identity source Create / Update (via interface) Authenticated service identity scoped to identity feed
Access approver Approve For users in the approver's organizational units
Workforce user Read (own account) Own account only
Security officer Update (security hold), Read Any account; reason mandatory

4. Preconditions - The organizational unit and locations referenced exist and are active in MOD-ESS-005. - For clinical roles, a practitioner record exists or is created in the same transaction.

5. Trigger - Joiner, mover, leaver or credential event; approved access request; security hold; end date reached.

6. Functional Behaviour

  1. The system creates an account only when linked to one workforce identity record, and refuses creation where an active account already exists for that identity.
  2. The system records for each account: workforce identifier, link to practitioner record where applicable, employment status, credential status, organizational unit, permitted locations, account type (employee, contractor, student, temporary), validity period and state.
  3. The system processes identity-source events idempotently using the source event identifier.
  4. On a leaver event, credential lapse or security hold, the system suspends the account or the affected roles from the effective time and revokes active sessions.
  5. On a mover event, the system re-evaluates role assignments and permitted locations as described in WF-ESS-001.
  6. The system refuses to assign a role granting clinical access to any account not linked to exactly one workforce identity.
  7. The system deactivates rather than deletes accounts; the identifier of a deactivated account is never reissued to a different person.
  8. The system emits an identity-changed event (EVT-ESS-001) on each state or attribute change.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Workforce identifier Identifier with assigning authority Yes Unique among active accounts Identifier from the identity source
Person name Structured name Yes Non-empty Display and legal name
Employment status Code Yes Value set Active, on leave, ended
Credential status Code Conditional Value set; required for roles that need a credential Current, lapsed, restricted
Organizational unit Reference Yes Active entity in registry Primary unit
Permitted locations Reference list No Active locations Locations at which the user may work
Account type Code Yes Value set Employee, contractor, student, temporary
Valid from / valid to Date-time Valid to mandatory for non-employee types Valid to after valid from Validity period
Source event identifier String Yes for feed events Unique per source Idempotency key

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-IAM-001-1 A second active account for the same workforce identity is refused Error returned; no account created
PR-IAM-001-2 A repeated source event identifier is acknowledged without reprocessing No duplicate change
PR-IAM-001-3 Suspension revokes all active sessions and tokens of the account Subsequent requests are denied
PR-IAM-001-4 Valid-to reached moves the account to Suspended Access ends at the stated time

9. Output Requirements

Output Format Recipient Description
Account record API resource Identity administration workspace, authorized services Current state and attributes
Identity-changed event Event (EVT-ESS-001) MOD-ESS-002, consuming domains State and attribute changes
Account lifecycle report Report (REP-ESS-001) Security officer Accounts by state, orphaned and expiring accounts

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Duplicate identity Active account exists for workforce identifier Reject "An active account already exists for this person." Open the existing account.
Unknown organizational unit Reference not active in registry Reject "Organizational unit is not active." Correct the unit or request registry change.
Clinical role on unlinked account Account not linked to one workforce identity Reject assignment "Clinical roles require a named individual account."
Missing end date for temporary account Valid to absent Reject "An end date is required for this account type."
Identity source unavailable Feed heartbeat missed Raise operational alert; allow manual entry with approval Reconcile manual entries when feed returns.

11. State and Lifecycle Behaviour

The account moves through Pending Activation, Active, Blocked, Suspended and Deactivated as defined in section 4.3. Deactivated accounts are retained for audit attribution.

12. Audit Requirements

  • Audited events: account create, attribute change, state change, session revocation, manual override of a feed value.
  • Each event records the acting user or service, source event identifier, timestamp, reason and before-and-after values.
  • Account audit history is retained for the audit retention period (section 7.6) and remains available after deactivation.

13. Security and Privacy Requirements

  • Account administration requires a privileged role with MFA (FR-ESS-IAM-002).
  • Workforce identity data is classified Confidential; credential and employment status are restricted to administrators, approvers and the policy decision service.
  • Administrators cannot approve their own access (BR-ESS-006).

14. Acceptance Criteria

  • AC-01: Given a joiner event for a person with no account, when it is processed and approved, then exactly one Active account exists and is linked to the workforce identifier.
  • AC-02: Given an active account, when a second account is requested for the same workforce identifier, then creation is refused.
  • AC-03: Given an active user with open sessions, when a leaver event becomes effective, then the account is Suspended and the next request on any existing session is denied.
  • AC-04: Given an account not linked to a workforce identity, when a clinical role is assigned, then the assignment is refused.
  • AC-05: Given any access log entry, when the actor is resolved, then it identifies one unique human or one service identity.

15. Dependencies and Integration

  • Upstream dependencies: HR and credentialing sources (EXT-ESS-001, EXT-ESS-002); MOD-ESS-005 registries.
  • Downstream dependencies: MOD-ESS-002 (subject attributes); all domains (actor resolution).
  • Required events or APIs: IF-ESS-001; EVT-ESS-001.

16. Open Questions / Assumptions

  • Authoritative sources per facility (confirmed 17 Nov 2026, ASM-ESS-002): employment status comes from the hospital HR system (EXT-ESS-001); credential status (STR, SIP, clinical privileges) from the medical staff office and komite medik credentialing record (EXT-ESS-002), held in the practitioner registry (FR-ESS-MDM-003). A facility without an HR system feed has its HR office enter joiner, mover and leaver changes on UI-ESS-002, with the same reconciliation.
  • The period between suspension and deactivation is 90 days (CFG-ESS-004; GAP-ESS-002, closed).

Requirement FR-ESS-IAM-002: Authentication and Multi-Factor Authentication

Attribute Description
Requirement ID FR-ESS-IAM-002
Requirement Name Authentication and multi-factor authentication
Requirement Type Functional
Module Enterprise Identity and Access Management
Functional Area FA-ESS-002 Authentication and session assurance
Priority Must
Criticality Critical
Requirement Status Draft
Source SEC-002; SEC-001; Architecture 9.1 (Authentication)
Related Business Rule BR-ESS-007
Related Workflow WF-ESS-001

1. Requirement Statement

The system shall authenticate every human user against their unique account through a central sign-on service, shall require multi-factor authentication for privileged, remote and other risk-defined access paths, with re-authentication for actions that policy defines as high impact, shall lock the screen on inactivity while keeping the session, shall block an account after repeated failed full sign-ins, shall support a badge-bound PIN as a quick factor on managed hospital devices, and shall let a second named person authorize an action in place where a requirement needs one.

2. Business Rationale

MFA must be enforced on each protected access path (SEC-002). Central sign-on gives one place to enforce and evidence authentication policy. Clinicians sign and switch users many times an hour at shared workstations; a slow sign step pushes staff to share sessions, and a clinician blocked mid-shift is itself a safety risk (first batch design readiness, ruling 1; CUX-38, CUX-64, CUX-66).

3. Actors and Permissions

Actor Permission Conditions
Workforce user Authenticate; enrol and manage own factors, including setting and resetting own badge PIN Own account; factor change requires existing valid authentication or administrator-verified reset; PIN set and reset only after a full sign-in with password and second factor
Second authorizing user Authorize or refuse another user's action in place by step-up A different named user from the requester; holds the role the requirement names (for example a supervisor)
Identity and access administrator, including the 24-hour service desk acting in that role Reset factor, unblock account Identity verification step recorded
Security officer Create / Update authentication policy (through MOD-ESS-012) Approval required

4. Preconditions - The account is Active. - For the badge and PIN path: the device is a managed hospital workstation or managed handheld, the badge is registered to the account and the badge path is open.

5. Trigger - Sign-on attempt; request for an action or access path that policy marks as requiring MFA or re-authentication; inactivity on a workstation; badge tap to unlock or switch user; a requirement that needs second-person authorization.

6. Functional Behaviour

  1. The system authenticates the user and issues a time-limited session bound to the account, with a maximum lifetime (CFG-ESS-003).
  2. The system evaluates the access path (privileged role, remote origin, risk-defined condition) and requires a second factor where the authentication policy says so.
  3. The system records the authentication assurance achieved in the session so that the policy decision service can use it as an attribute.
  4. The system requires step-up authentication when a user with a lower-assurance session requests an action that requires higher assurance.
  5. The system blocks the account after the configured number of consecutive failed full sign-ins and records the block (CFG-ESS-002). The account unblocks automatically when the block period ends, or earlier when the identity and access administrator or the 24-hour service desk unblocks it after a recorded identity verification. Failed PIN entries do not count toward the block.
  6. The system locks the screen after the configured period of inactivity: by default 10 minutes on desktop workstations and 5 minutes on workstations on wheels and handhelds (CFG-ESS-003). A locked screen shows no patient data. Locking keeps the session and the user's unsaved drafts. The same user unlocks the screen with badge and PIN or with a full sign-in.
  7. The system ends a session at its maximum lifetime (by default 12 hours), on sign-out, or on revocation, including revocation by account suspension or by an administrator. Inactivity does not end a session.
  8. The system warns the user 10 minutes before the session reaches its maximum lifetime, so that work can be saved. The warning does not extend the session.
  9. The system supports a PIN as a quick factor bound to the user's workforce badge. The PIN is six digits. It is valid only together with the badge, on a managed hospital workstation or managed handheld. It is never accepted on its own and never for remote access. Badge and PIN are used to unlock a locked screen, for fast user switching, and for step-up at signing.
  10. The system lets a user set or reset their PIN only within a session established by a full sign-in with password and second factor.
  11. After three consecutive failed PIN entries, the system closes the badge path for that badge until the user next signs in fully. A full sign-in with the second factor stays available on every hospital workstation.
  12. The system supports fast user switching on shared clinical workstations by badge and PIN. A switch suspends the current user's session, with its drafts, and starts or resumes the next user's own session. One user can never act within another user's session.
  13. At step-up for signing, the system does not ask again when the same user signs again for the same patient within 5 minutes. The window ends when the patient changes, the screen locks or the user is switched. The system always asks, with no window, for controlled-substance orders, merge and unmerge, Break-the-Glass, approval of governed content (configuration and policy versions, register entries and decision records, releases and change records) and any co-signature.
  14. Where a requirement needs a supervisor or second person to approve an action, the second person authorizes in place: they authenticate by step-up on the requester's screen, see the same summary and reason as the requester, and authorize or refuse. A refusal requires a reason, and the requester is told. The second person must be a different named user from the requester. The system records both names and roles with the action.
  15. The system does not require a third-party cloud control plane or internet connectivity to authenticate users for critical clinical workflows unless explicitly approved with a continuity design (DEP-006).

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Account identifier String Yes Existing account Sign-on name
Primary credential Secret or assertion Yes for full sign-in Per authentication policy Never logged
Second factor Factor response Conditional Valid for enrolled factor Required where policy demands
Badge Badge credential Yes for the badge and PIN path Registered to the account; read on a managed hospital device Something held
PIN Six digits Yes with the badge Six digits; badge path open Something known; never logged
Client context Structured Yes Captured by gateway Network zone, device, managed-device status, application
Second-person decision Authorize / refuse, with reason for refusal Conditional Authorizing user differs from requester Required where a requirement names second-person authorization

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-IAM-002-1 MFA is required when the session would carry a privileged role, originates from a remote zone, or meets another risk-defined condition Session not issued until second factor succeeds
PR-IAM-002-2 Failed full sign-in counter reaches threshold Account Blocked for the block period; event audited
PR-IAM-002-3 Session assurance below the level required by a requested action Step-up challenge returned
PR-IAM-002-4 Authentication failure responses do not reveal which input was wrong Uniform failure message
PR-IAM-002-5 No input on a workstation for the configured inactivity period Screen locked; session and drafts kept
PR-IAM-002-6 Session reaches its maximum lifetime Session ends; warning given 10 minutes before
PR-IAM-002-7 Third consecutive failed PIN for a badge Badge path closed until the next full sign-in; account not blocked
PR-IAM-002-8 PIN presented without the badge, on an unmanaged device or from a remote origin Refused
PR-IAM-002-9 Second authorizing user is the requester Refused; a different person is required

9. Output Requirements

Output Format Recipient Description
Session / token Signed, time-limited token Client application, gateway Carries subject, assurance level, expiry
Sign-on, screen lock, user switch, PIN and second-person dialogs Shared component (UI-ESS-001) Workforce user Authenticate, unlock, switch, set PIN, step up, authorize in place
Authentication event Audit event MOD-ESS-006 Success, failure, block, step-up, screen lock, user switch, PIN events, second-person decision
MFA coverage report Report (REP-ESS-002) Security officer Protected paths and enforcement evidence

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Wrong credential Credential check fails Deny; increment counter "Sign-in failed."
Account not Active State check Deny "Sign-in is not available for this account. Contact support."
Account Blocked State check Deny "Sign-in is not available for this account." The message states when it unblocks automatically and that the service desk can unblock it after an identity check, 24 hours a day.
Wrong PIN PIN check fails Deny; increment the badge's PIN counter "Sign-in failed." After the third failure: "Sign in with your password."
Badge path closed Badge path state Refuse badge and PIN "Sign in with your password."
Second factor unavailable No enrolled factor or factor lost Deny protected path; offer administrator-verified recovery Follow the recovery procedure.
Second person is the requester Identity comparison Refuse "A different person must authorize this."
Authentication service degraded Health check fails Fail closed for new privileged sessions; existing sessions continue to their expiry; downtime procedure applies (section 11.2) Banner shows degraded sign-in.

11. State and Lifecycle Behaviour

Affects account state (Active to Blocked and back) and session lifecycle (issued, stepped up, screen locked, suspended by a user switch, expired, revoked). The badge path of each badge is open or closed; it closes after three failed PINs and opens at the next full sign-in.

12. Audit Requirements

  • Audited events: successful and failed sign-on, MFA challenge result, account block and unblock, screen lock and unlock, user switch, PIN set, reset and failure, badge path closure, factor enrolment and reset, session end and revocation, second-person authorization and refusal.
  • Each event records account, client context, timestamp and outcome. A second-person event records both users and their roles. Credentials, PINs and factor secrets are never recorded.
  • Failed sign-on and privileged access counts feed the security and privacy dashboard (PRS Appendix B).

13. Security and Privacy Requirements

  • Authentication secrets, including the PIN verifier, are handled only through the controlled mechanisms of Domain 2 (SEC-009).
  • Factor reset requires recorded identity verification.
  • The badge and PIN path is not offered on unmanaged devices or for remote access.
  • Biometric factors, if used, require privacy impact assessment and an alternative strong authentication path (principle from ANC-013).

14. Acceptance Criteria

  • AC-01: Given a user with a privileged role, when the user signs on with only a primary credential, then no session carrying the privileged role is issued.
  • AC-02: Given each protected access path defined in policy, when tested without a second factor, then access is refused (SEC-002 acceptance).
  • AC-03: Given a session without MFA, when the user requests an action marked high impact, then a step-up challenge is required before the action proceeds.
  • AC-04: Given the configured number of consecutive failed full sign-ins, when the next attempt is made, then the account is Blocked, an audit event exists, and the account unblocks when the block period ends.
  • AC-05: Given a suspended account, when an existing token is presented, then the request is denied.
  • AC-06: Given a desktop workstation with no input for 10 minutes, when the period ends, then the screen is locked, no patient data is shown, and the same user's session and drafts are intact after unlocking.
  • AC-07: Given a session 10 minutes from its maximum lifetime, when that point is reached, then the user is warned; and when the lifetime ends, the session ends.
  • AC-08: Given three consecutive failed PINs for a badge, when the user next presents the badge, then the badge path is refused, the account is not Blocked, and a full sign-in with second factor succeeds and reopens the badge path.
  • AC-09: Given a PIN presented without the badge or from a remote origin, when it is checked, then it is refused.
  • AC-10: Given an action that needs second-person authorization, when the requester tries to authorize it themselves, then it is refused; and when a different user authorizes it, the record shows both names and roles.

15. Dependencies and Integration

  • Upstream dependencies: FR-ESS-IAM-001; Domain 2 gateway, secret management and device management.
  • Downstream dependencies: MOD-ESS-002; every user-facing application; every requirement that names supervisor or second-person approval.
  • Required events or APIs: IF-ESS-002.

16. Open Questions / Assumptions

  • The identity provider implementation is an open architecture decision (Architecture ADR-004; DEC-ESS-005). Named directory products are examples only (PRS 28).
  • The badge PIN follows ruling 1 of 16 November 2026 as revised and ratified by the Security and Privacy Office on 17 November 2026 (CUX-66): failed PINs close the badge path and do not block the account (first batch design readiness, ruling 1). Inactivity, maximum lifetime and the expiry warning follow CUX-38; second-person authorization follows CUX-64.
  • The risk-defined access paths are set in CFG-ESS-001 (GAP-ESS-002, closed). The block threshold and session limits are set in CFG-ESS-002 and CFG-ESS-003.
  • Behaviour during network isolation of a ward is set by DEC-ESS-006, resolved 2026-11-17. The first release has session persistence and the downtime procedure, and no local edge decision capability. If the identity service is unreachable but the application is not, existing sessions continue to their expiry. If the ward is cut off from the data centre, it uses the downtime procedure: a downtime workstation holding an encrypted, regularly refreshed snapshot (census, allergies, active medication chart), opened with a sealed local credential, and paper forms. Local edge decisions are revisited when offline working is approved (DEC-ISE-006). Snapshot content and refresh interval are set by clinical governance and confirmed through the hazard analysis.

Requirement FR-ESS-IAM-003: Service Identity Management

Attribute Description
Requirement ID FR-ESS-IAM-003
Requirement Name Service identity management
Requirement Type Functional
Module Enterprise Identity and Access Management
Functional Area FA-ESS-003 Service identity
Priority Must
Criticality High
Requirement Status Draft
Source PRS section 4.2; PRS 8.2 (authenticated, authorized service-to-service communication); contributes to SEC-009 and SEC-018 (primary Domain 2)
Related Business Rule BR-ESS-004
Related Workflow WF-ESS-001

1. Requirement Statement

The system shall maintain a register of non-human service identities, each with a named owner, the workload or registered wall-display device it represents, a defined scope of permitted actions and a validity period, shall require credential rotation through the controlled mechanism provided by Domain 2, and shall audit service identities separately from human accounts.

2. Business Rationale

PRS 4.2 requires service identities to be non-human, scoped, rotated and separately audited. An unowned or over-scoped service identity is an unaccountable path to patient data.

3. Actors and Permissions

Actor Permission Conditions
Service owner (domain technical lead) Create (request), Read; request retirement For workloads the owner is accountable for
Security officer Approve, Update (suspend) Scope reviewed against least privilege
Identity and access administrator Create / Update / Retire; register and retire display devices On approved request; retirement on request of the service owner

4. Preconditions - The workload is listed in the service catalogue with an owner.

5. Trigger - New workload or integration partner onboarding; new wall display; scope change; rotation due; owner change; decommissioning.

6. Functional Behaviour

  1. The system registers a service identity with owner, workload reference, environment, scopes and validity.
  2. The system refuses interactive sign-on for service identities.
  3. The system records the rotation interval required for the identity's credential and the date of last rotation as reported by the Domain 2 secret management capability, and flags identities whose rotation is overdue.
  4. The system supplies the service identity's scopes and attributes to the policy decision service.
  5. The system suspends a service identity on request of the security officer or when its validity ends, and emits an identity-changed event.
  6. The system distinguishes, in every audit event, a service acting on its own behalf from a service acting on behalf of a human user, and in the second case carries both identities.
  7. The system flags service identities whose owner account is no longer Active and assigns them to the fallback owner for review.
  8. The system retires a service identity on request of its service owner. The identity and access administrator performs the retirement, and the identity can no longer be used.
  9. The system registers each wall-display device as a service identity of type display device. A display device identity is non-interactive. Its scope is read-only and limited to the boards configured for that display. It runs no user session and cannot sign in a user. The identity and access administrator registers and retires display devices, and their credentials are rotated through Domain 2 like any other service identity.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Service name String Yes Unique per environment Identity name
Identity type Code Yes Workload service or display device What the identity represents
Configured boards Reference list For display devices Boards registered by the owning domain The only boards a display may read
Owner Reference to account Yes Active account Accountable person
Workload reference Reference Yes Exists in service catalogue; for a display device, its device registration and location Workload or device represented
Scopes List of scope codes Yes Scopes exist; least-privilege review recorded Permitted actions
Environment Code Yes Value set Production, DR, pre-production, development, training
Rotation interval Duration Yes Within policy maximum Required credential rotation
Valid to Date-time No After now Expiry

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-IAM-003-1 A service identity is valid only in the environment it is registered for Cross-environment use denied
PR-IAM-003-2 Rotation overdue beyond the policy tolerance Flag raised to owner and security officer; suspension where policy requires
PR-IAM-003-3 Owner account becomes inactive Identity flagged and reassigned for review
PR-IAM-003-4 A display device requests a board not configured for it, or any write Denied and audited

9. Output Requirements

Output Format Recipient Description
Service identity record API resource Policy decision service, Domain 2 Scopes and state
Service identity register report Report (REP-ESS-003) Security officer Owner, scope, last rotation, last use

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
No owner Owner missing or inactive Reject "A named active owner is required."
Scope broader than approved Scope not in approved request Reject "Requested scope has not been approved."
Interactive sign-on attempt Account type is service or display device Deny and alert Security alert raised.

11. State and Lifecycle Behaviour

Service identities are Pending Approval, Active, Suspended or Retired. Retired identities are retained for audit attribution.

12. Audit Requirements

  • Audited events: registration, scope change, owner change, suspension, retirement, rotation status change, denied use.
  • Events are tagged with identity type "service" so that service and human activity can be reported separately.

13. Security and Privacy Requirements

  • Credentials are never stored in the register, in source code or in plain configuration (SEC-009); the register holds metadata only.
  • Scope changes require security approval.
  • Environment isolation: development and integration identities cannot access production (PRS 8.4).

14. Acceptance Criteria

  • AC-01: Given a registered service identity, when it requests an action outside its scopes, then the request is denied and audited.
  • AC-02: Given a service identity, when an interactive sign-on is attempted, then it is refused and a security alert is raised.
  • AC-03: Given a service identity whose rotation is overdue, when the daily check runs, then the owner and security officer are notified and the identity appears on the register report as overdue.
  • AC-04: Given a service calling on behalf of a user, when the action is audited, then the audit event carries both the service identity and the user identity.
  • AC-05: Given a registered wall display, when it requests a board not configured for it or attempts a write, then the request is denied and audited, and no user session exists for the display.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • The division between this register and the Domain 2 secret store is a working position: Domain 10 owns the identity record and scope, Domain 2 owns the credential (DEC-ESS-007).

Requirement FR-ESS-IAM-004: Role Administration, Least Privilege and Access Recertification

Attribute Description
Requirement ID FR-ESS-IAM-004
Requirement Name Role administration, least privilege and access recertification
Requirement Type Functional
Module Enterprise Identity and Access Management
Functional Area FA-ESS-004 Role administration and recertification
Priority Must
Criticality High
Requirement Status Draft
Source SEC-004; CFG-001 (roles as governed configuration); PRS 4 (actor / role table)
Related Business Rule BR-ESS-005, BR-ESS-006
Related Workflow WF-ESS-001, WF-ESS-008

1. Requirement Statement

The system shall maintain a governed catalogue of roles and their permissions, shall assign roles to accounts with an explicit scope and validity only on approval, shall enforce least privilege through scoped assignment and segregation-of-duties rules, and shall run periodic access recertification that produces evidence and makes revoked permissions stop working.

2. Business Rationale

SEC-004 requires least privilege and periodic recertification, with evidence that revoked permissions stop working. Roles are also a configuration item under CFG-001.

3. Actors and Permissions

Actor Permission Conditions
Security officer Create / Update role definitions Through the configuration lifecycle with approval (FR-ESS-CFG-001)
Identity and access administrator Create / Delete role assignments On approved request
Access approver Approve assignments; confirm or revoke in recertification Not for own assignments
Workforce user Read own roles Own account

4. Preconditions - The account is Active or Pending Activation; the role is published.

5. Trigger - Access request; mover event; recertification schedule; risk event.

6. Functional Behaviour

  1. The system holds each role as a versioned configuration item with name, description, permission set, whether it is privileged, whether it requires a credential, and its recertification cycle.
  2. The system assigns a role to an account with a scope (enterprise, facility, department or location) and a validity period.
  3. The system requires approval by the accountable approver before an assignment takes effect, except for assignments derived from an approved position-to-role mapping.
  4. The system evaluates segregation-of-duties rules on assignment and refuses a conflicting assignment unless an approved exception is recorded.
  5. The system runs recertification campaigns as described in WF-ESS-008 and applies the configured default action to unreviewed items at the due date.
  6. The system makes a revocation effective for new authorization decisions without waiting for the user's session to end.
  7. The system produces a campaign evidence report listing each assignment, the reviewer, the decision, the time and the resulting action.
  8. The first published role catalogue is the starter role catalogue, with each role's privileged flag, credential requirement and recertification cycle; the recertification cycles and default actions are in CFG-ESS-005 (privileged every 6 months, others every 12 months).
  9. The system enforces the segregation-of-duties rules: role-level rules at assignment (PR-IAM-004-1), transaction-level rules in the authorization decision when the calling domain supplies the earlier actor of the same item.

7. Input Requirements

Input Field Data Type Mandatory Validation Description
Account Reference Yes Active or pending Subject of assignment
Role Reference Yes Published role version Role assigned
Scope Reference Yes Active organizational entity Where the role applies
Valid from / to Date-time Valid from yes Valid to after valid from Validity
Justification Text Yes Non-empty Business reason
Approver decision Code Yes Approve / reject / confirm / revoke Decision with timestamp

8. Processing Rules

Rule ID Processing Rule Expected Result
PR-IAM-004-1 Assignment conflicts with a segregation-of-duties rule Refused unless approved exception exists
PR-IAM-004-2 Approver equals subject Routed to alternate approver
PR-IAM-004-3 Revocation recorded Decisions made after the revocation time do not use the role
PR-IAM-004-4 Campaign due date passes with unreviewed items Configured default action applied and recorded

9. Output Requirements

Output Format Recipient Description
Role assignment API resource MOD-ESS-002 Subject attributes for decisions
Recertification evidence Report (REP-ESS-004) Security officer, auditor Decisions and actions per campaign
Review tasks Task Access approvers Items to review

10. Validation and Error Handling

Scenario Validation System Response User Message / Action
Role requires credential the user lacks Credential status check Reject "This role requires a current credential."
Scope outside approver's authority Approver scope check Route to correct approver Informational message.
Expired validity Valid to in the past Reject "Validity period has ended."

11. State and Lifecycle Behaviour

Role assignments are Requested, Approved (effective), Expired or Revoked. Role definitions follow the configuration version states in section 4.3.

12. Audit Requirements

  • Audited events: role definition change, assignment request, approval, rejection, revocation, exception approval, recertification decision and default action.
  • Before-and-after permission sets are recorded for role definition changes.

13. Security and Privacy Requirements

  • Role definition changes require approval separate from the author.
  • Privileged role assignments require MFA-protected administration.
  • Recertification reports are Confidential.

14. Acceptance Criteria

  • AC-01: Given an approved role assignment scoped to one facility, when the user requests the same action at another facility, then the role does not contribute to a permit decision.
  • AC-02: Given an assignment revoked in a recertification campaign, when the user next attempts an action permitted only by that role, then the action is denied (SEC-004 acceptance).
  • AC-03: Given a completed campaign, when the evidence report is produced, then every in-scope assignment shows a reviewer decision or a recorded default action.
  • AC-04: Given a segregation-of-duties conflict, when the assignment is requested, then it is refused unless an approved exception is recorded.
  • AC-05: Given a privileged assignment not reviewed by the campaign due date, when the due date passes, then the assignment is suspended and the default action is recorded in the evidence report.
  • AC-06: Given a pharmacist who also prescribed a medication order, when the same person attempts to verify that order, then the decision is Deny with the segregation-of-duties reason.

15. Dependencies and Integration

16. Open Questions / Assumptions

  • Update 17 Nov 2026 (GAP-ESS-003, closed): the starter role catalogue, the segregation-of-duties rules and the recertification cycles are set in section 9.2 and CFG-ESS-005 (parts 6.8 and 6.9). Each domain specification keeps the permissions of its actors in its own section 9.2.

← 5. Detailed Functional Requirements | Contents | Identifier index | 5.2 Module Specification: Authorization and Policy Decision Services →