Identity and Access Management: What a Sign-In Can’t Prove

In this fictional hospital, a staffing coordinator transfers from the North unit to the South unit. The account leaves North’s scheduling group and joins South’s, but it can still edit both units’ rosters. A small Python model shows which rule still allows the coordinator to change North’s shift assignments.

Identity and access management (IAM) covers how an organization establishes identities for people and software, verifies those identities and controls what they can do as their responsibilities change. “South scheduler” is a group name. Effective access is what the application actually permits under the rules that apply to the account. Here the requirement is specific: the coordinator should be able to edit South’s schedule and no longer be able to edit North’s.

What happens between signing in and saving a change

Authentication checks that a person or service controls the credentials associated with the account it claims. A coordinator might sign in through an identity provider such as Microsoft Entra ID using multifactor authentication (MFA). An overnight scheduling service can have an identity of its own. It may need to read tomorrow’s assignments without permission to edit them. Both fall within the scope of IAM.

Authorization is the decision about an action on a particular resource: may this account edit the North roster? A scheduling app might grant that permission through a role shared by North schedulers or through an exception assigned directly to one person. MFA strengthens the sign-in. It does not remove an exception that outlasts the work it was meant to cover.

From sign-in to a roster editA sign-in records the account accepted. The app decides whether that account may edit the requested roster. Deny refuses the edit; allow permits the app to try to save. Look for a change-history entry to establish a completed write. From sign-in to a roster edit Identity provider accepts an account Evidence: sign-in record App checks permission to edit Account · action · roster DENY App refuses the edit ALLOW App may try to save Saved edit? Check change history A permitted edit can still fail to save.
Figure 1. In this example, sign-in identifies the account. The scheduling app decides whether that account may edit the roster; its change history can confirm a completed save.

I still go back to the material I used to pass SC-200, particularly Microsoft’s objective on investigating compromised identities. This example is a useful way to practice distinguishing what each record can establish. An Entra sign-in record can identify the account and application. Even if the app permits a roster edit, the save can fail. To establish that a schedule changed, I’d look for the completed edit in the app’s change history.

Why a transfer makes a useful access review

IAM teams often describe the account lifecycle in terms of people joining, moving within and leaving an organization. On hire, a manager can approve the starting role. On departure, an application’s own session may need to be revoked separately from the directory account. A transfer calls for a narrower change. Someone moving from accounts payable to audit might still need to review invoices in the same application but should no longer be able to release payments.

The North permission predates the coordinator’s regular assignment there. When the coordinator first filled in at North’s scheduling desk, the app gave the account, sched-07, a direct grant to edit that unit’s roster. Joining North’s scheduling group later provided a second path to the same permission. Seeing North on a list of editable rosters would not tell a reviewer that either grant was enough.

After the transfer, South is the only approved unit. The account has never had editing rights on West. Least privilege here means preserving the South edit the job requires, ending North coverage and leaving West alone.

Two grant paths after the group changeAfter the fictional transfer, sched-07 may edit South through the South schedulers group. The North group membership is gone, but a separate direct shift-coverage grant still allows editing North. After the group change sched-07 Directory group South schedulers Direct app grant North coverage Edit South roster Allowed as intended Edit North roster Unexpected allow
Figure 2. After the group change, the South group permits South edits. A direct grant in the app still permits North edits.

Test what the account can still do

The Python model checks the same account and action against three rosters: before the transfer, after changing groups and after removing the direct grant. I set the expected decisions from the fictional transfer request, independently of the rules the model evaluates. On each request, either a matching group rule or a direct grant permits the edit; with neither, the model denies it. OWASP recommends checking authorization on every request. The model assumes the account is already signed in. It uses no hospital data and makes no changes to a live roster.

Observed policy decisions for roster editsBefore transfer: North allowed; South and West denied. After changing the group: North unexpectedly allowed; South allowed; West denied. After removing the direct grant: North denied, South allowed, West denied. The asterisk marks the only mismatch with the transfer request. Edit decisions by stage North South West Before transfer ALLOW DENY DENY Group changed ALLOW* ALLOW DENY Grant removed DENY ALLOW DENY * North should already have been denied.
Figure 3. The model returned one unexpected decision, marked with an asterisk: North remained editable after the group change.

One of the nine decisions disagreed with the transfer request. After the group change, North still returned ALLOW. The only matching rule was direct:coverage. Removing that grant changed North to DENY; South remained editable and West stayed denied. Removing every edit grant would also have produced a denial on North. Checking South is what catches a fix that takes away the coordinator’s ability to do the new job.

Run the nine checks (Python 3)

Copy this script into roster_access.py and run python3 roster_access.py. It prints a CSV; no packages or accounts are required.

"""Offline IAM exercise: compare effective permissions to the transfer request."""
import csv
import sys

ACCOUNT = "sched-07"
UNITS = ("North", "South", "West")
GROUP_RULES = {
    "north-schedulers": ("edit", "North"),
    "south-schedulers": ("edit", "South"),
}
COVERAGE = (ACCOUNT, "edit", "North")

# Each state has directory memberships and application-local grants.
STATES = [
    ("before_transfer", {ACCOUNT: {"north-schedulers"}}, {COVERAGE}),
    ("groups_changed", {ACCOUNT: {"south-schedulers"}}, {COVERAGE}),
    ("grant_removed", {ACCOUNT: {"south-schedulers"}}, set()),
]

# Expected edits come from the transfer request, independent of the rules.
APPROVED_EDITS = {
    "before_transfer": {"North"},
    "groups_changed": {"South"},
    "grant_removed": {"South"},
}

def decide(account, action, unit, groups, direct):
    paths = ["group:" + g for g in sorted(groups.get(account, ()))
             if GROUP_RULES.get(g) == (action, unit)]
    if (account, action, unit) in direct:
        paths.append("direct:coverage")
    return ("ALLOW" if paths else "DENY"), ";".join(paths) or "-"

def main():
    out = csv.writer(sys.stdout, lineterminator="\n")
    out.writerow(("stage", "account", "action", "roster",
                  "expected", "observed", "matched_grants"))
    for stage, groups, direct in STATES:
        for unit in UNITS:
            expected = "ALLOW" if unit in APPROVED_EDITS[stage] else "DENY"
            decision, paths = decide(ACCOUNT, "edit", unit, groups, direct)
            out.writerow((stage, ACCOUNT, "edit", unit, expected, decision, paths))

if __name__ == "__main__":
    main()

For a second check, replace {COVERAGE} with set() in the groups_changed row only. Rerun it. The only decision that should change is the North edit in that row.

A documented authentication failure: VMware vCenter

On November 19, 2026, Broadcom disclosed CVE-2026-123890 in the VMware Directory Service used by vCenter. Administrators use vCenter to manage virtual machines and the hosts they run on. Someone with network access to an affected vCenter could bypass authentication. Mandiant and Google Threat Intelligence Group documented exploitation, and CISA added the flaw to its Known Exploited Vulnerabilities Catalog on November 20.

The fictional coordinator had a valid account but kept an edit permission the job no longer required. The November 2026 vCenter flaw (CVE-2026-123890) affected a different part of IAM: authentication. Investigators found that an unauthenticated caller could obtain a session under the local vSphere administrator account. Once vCenter assigned that identity to the session, an action restricted to administrators could pass its authorization check. An audit record naming the administrator would not, on its own, establish who initiated the action.

Next
Next

Adding Armis to a Distributed Splunk Lab: Asset Context and MCP