Data & evidence

Design least-privilege access to restaurant analytics

By Anurag · Published 4 November 2026 · Updated 17 November 2026Global methods · Country rules separately scoped
Constructed learning material. Prepared with AI assistance. Sample businesses, records and outcomes are fictional. External sources support the named methods or scoped facts; they do not validate the sample values as benchmarks.

A restaurant manager can see an outlet's weekly summary but should not automatically download another outlet's refund detail. A finance analyst may need a group view while a technical supplier needs only diagnostic metrics. A temporary manager's permission should end when cover ends. These are different access decisions. A single administrator checkbox or a hidden navigation button cannot express them reliably.

This laboratory builds an original access-policy matrix for the fictional restaurant group Linden Kitchens. Six identities, five resources and twenty requests expose outlet scope, action scope, temporary access and a narrowly defined emergency grant. The tool is a local policy simulation. It does not authenticate users, change production permissions, test a live system or certify security. All identities, resources, dates and approval references are invented teaching material.

Download the twenty-request test matrix and the policy fixture and expected answers. The interactive lab changes the evaluation time, finance scope and emergency-grant scenario, then recomputes every decision with a reason. The aim is to make the company policy reviewable before anyone translates it into application permissions. A model can show what should happen; the implementation must separately prove that it enforces the same rule.

TRY THE CASE

A role is not permission for every outlet and operation

Fictional inputs and stated model boundaries. The worked calculations and downloadable records below remain available without JavaScript.

Inventory business tasks, governed resources and operations → Obtain trusted identity, active status, scope and validity attributes → Deny unknown subjects, unknown resources and unsupported operations → Check all required outlet coverage and ordinary task permissions → Evaluate only a narrowly matched independently approved exception → Apply exact operation-time expiry and mandatory prerequisites → Return a traceable decision and test actual authorized application routes separately → Review permission changes and retain bounded enforcement evidence
  1. Inventory business tasks, governed resources and operations
  2. Obtain trusted identity, active status, scope and validity attributes
  3. Deny unknown subjects, unknown resources and unsupported operations
  4. Check all required outlet coverage and ordinary task permissions
  5. Evaluate only a narrowly matched independently approved exception
  6. Apply exact operation-time expiry and mandatory prerequisites
  7. Return a traceable decision and test actual authorized application routes separately
  8. Review permission changes and retain bounded enforcement evidence
Follow the evidence through the decision. Each gate belongs to this constructed case. Download the diagram.

1. Begin with decisions and data objects

Linden Kitchens identifies five resources: an aggregate summary for outlet A, an aggregate summary for outlet B, a group summary covering both outlets, a restricted refund-detail view for outlet A and technical diagnostic metrics. The labels describe the fixture's data scopes. They do not establish that every aggregate is anonymous or every detail field is necessary. The data owner must understand what the actual resource reveals before approving its audience.

Each request identifies a subject, resource, operation and evaluation time. Viewing, exporting and deleting are separate operations. A person permitted to inspect a dashboard does not automatically need a portable copy of its underlying rows. A person permitted to export a group summary does not automatically need a customer-level export. The policy should describe the actual operation, not rely on an ambiguous privilege called access.

The NIST ABAC guide describes authorization using attributes of the subject, object, requested operation and relevant environment against policy. Linden Kitchens applies that general vocabulary in a small original restaurant design. The federal publication is not a restaurant mandate, and the teaching model is not an implementation of every control in the publication. Its value here is making the inputs to a decision explicit.

Write the required business tasks first. An outlet manager needs to review their own outlet's aggregate operating result. Finance needs certain cross-outlet analysis. A supplier needs a bounded diagnostic task. This task inventory helps a company design permissions from need rather than copying a senior employee's accumulated access. It also reveals when a resource is too broad and should be split into safer, more useful views.

2. Separate identity, role and scope

An identity establishes which account or service is making the request. A role describes a bundle of permitted tasks. Scope limits where those tasks apply. U1 is a manager scoped to outlet A; U2 is a manager scoped to outlet B. The role is the same, but their permitted outlet resources differ. Giving both the same unrestricted manager dashboard would erase that scope distinction.

U3 is a finance analyst with approved scope for both A and B. U4 is temporary manager cover for A between 10 November and before 20 November. U5 is an inactive former manager of A. U6 is a technical supplier identity whose approved diagnostic access ends before 15 November. These status and time attributes are part of the access decision, not merely descriptive fields in a staff directory.

Role names should come from a controlled policy model. Calling someone director, owner or finance does not itself define which records they may export. A production system needs an authoritative identity and entitlement source, suitable authentication and maintained permissions. The local fixture uses plain identifiers so readers can examine the logic. It cannot prove that a real account is controlled by the named person or that its attributes are trustworthy.

The archived NIST role-based access project explains the historical concept of assigning permissions to roles and users to roles. It is cited for that concept only; its archived status means the guide does not treat it as a current product-selection source or claim about the latest standards. Linden combines role and scope checks in its own explicitly stated teaching policy.

3. Read the fictional resource catalogue

Each resource has a stable identity, a resource kind, a scope and allowed operation names. A display title can change without changing the identity. A new dashboard page should not accidentally inherit broad access because it reuses an old navigation category. The resource catalogue is where the data owner records what the object represents and which policy rule is intended to govern it.

ResourceMeaningRequired outlet coverageFixture classification
RAOutlet A operating summaryAAggregate
RBOutlet B operating summaryBAggregate
RGGroup summary covering A and BA and BAggregate
RDOutlet A refund detailARestricted
RTTechnical diagnostic metricsSeparate diagnostic scopeTechnical

The group resource is not merely another single-outlet summary. Under this policy, a finance analyst needs approved coverage for every outlet included in the group object. If U3's scope later becomes A only, the full A-and-B group view is denied. The application could provide a separately defined A-only resource, but it should not silently return an incomplete group total under the same group label.

Restricted refund detail has a narrower audience and operation set than the aggregate views. Finance may view it under the fixture policy, but no role may export it through the ordinary route. The tool is not making a universal statement that refund detail must never be exported. It shows how a company can define an operation-specific boundary and test that a broad finance role does not automatically bypass it.

Technical metrics are also a deliberate bounded resource. They contain no customer, payment or outlet financial rows in the fixture. A supplier permitted to view them is not permitted to inspect the group summary. In a real application, diagnostic logs can contain sensitive material, so the resource's content needs verification. Calling an endpoint technical does not make its payload harmless or suitable for every vendor account.

4. State the complete ordinary policy in plain language

An active manager may view an aggregate outlet resource when every required outlet lies within their approved scope. Managers do not receive ordinary export permission. An active finance analyst may view and export aggregate resources within approved scope, and may view restricted refund detail within scope. Restricted detail export is denied. An active supplier may view technical metrics only during the supplier's approved access period. Other requests are denied unless a valid narrow grant applies.

Every subject must also be active and within any declared validity period. The start boundary is inclusive and the end boundary exclusive. U4's cover starts at 10 November 00:00 UTC and ends at 20 November 00:00 UTC. At the exact end, temporary cover no longer applies. The timestamp convention is explicit because a date-only label such as until the twentieth can be interpreted differently by different teams.

Unknown subjects, unknown resources and unsupported operation names are denied with a reason in the simulation. The policy does not infer permission from a similar user name, an adjacent outlet code or a missing configuration field. A production implementation should have an appropriate controlled failure behaviour when trusted attributes cannot be obtained. The learning model's explicit denial helps reveal where the underlying configuration must be repaired.

The policy also distinguishes operational permission from financial authority. A finance analyst's ability to view a report does not authorise a purchase, refund or journal. A manager's ability to approve a business decision does not imply they should download every underlying customer record. Connect the two frameworks where necessary, but do not treat one role label as a substitute for all legal, financial and information-access decisions.

5. Work the twenty-request baseline

The baseline evaluation time is 12 November 2026 at 10:30 UTC. Temporary cover and supplier access are both within their declared periods. No emergency grant is active. U3 has scope for A and B. The expected matrix includes both allowed and denied cases so the team cannot mistake a system that denies everything for a working implementation.

RequestSubject and actionExpected resultMain reason
X01U1 views RAAllowManager, own outlet aggregate
X02U1 views RBDenyOutlet B outside scope
X03U1 exports RADenyManager has no export operation
X04U2 views RBAllowManager, own outlet aggregate
X05U2 views RADenyOutlet A outside scope
X06U3 views RGAllowFinance covers A and B
X07U3 exports RGAllowAggregate export within scope
X08U3 views RDAllowScoped finance detail view
X09U3 exports RDDenyRestricted export prohibited
X10U4 views RAAllowValid temporary cover
X11U5 views RADenyIdentity inactive
X12U6 views RTAllowValid supplier diagnostic route
X13U6 views RGDenySupplier lacks financial-resource permission
X14U1 views RDDenyNo ordinary restricted-detail role
X15U4 exports RADenyTemporary manager role still lacks export
X16Unknown subject views RADenyNo trusted subject record
X17U1 views unknown resourceDenyNo governed resource record
X18U1 deletes RADenyUnsupported operation
X19U3 exports RAAllowScoped aggregate export
X20U6 exports RTDenySupplier diagnostic view only

Eight requests are allowed and twelve denied. Those totals are a fixture check, not a target access ratio. A production policy could legitimately allow a different share of requests. The meaningful result is that each case matches its independently stated expected decision and reason. An eight-allow result with the wrong eight identities would not pass the test.

The request matrix should be reviewed by people who understand the business tasks and the data. A developer can implement a rule consistently while the policy itself remains too broad or too restrictive. Conversely, a sensible policy document can be undermined by an application that checks only some routes. Keep policy correctness and implementation enforcement as separate review questions with connected evidence.

6. Treat export as a distinct decision

Export creates a copy that can outlive the dashboard session and its later permission changes. The company may permit it where a task needs it, but the permission should be explicit. U1 can view RA and cannot export it under the fictional policy. U3 can export RA and RG but cannot export RD. Those distinctions should be enforced in the server-side data route, not merely by hiding an export button.

A CSV endpoint, scheduled email attachment, spreadsheet connection and print-to-file route can all disclose related information. The resource inventory should identify the actual routes a permitted task uses. A test that clicks the visible export button only once cannot establish that every data path follows the same authorization rule. An implementation review needs a bounded route inventory and meaningful positive and negative tests.

Downloaded copies need appropriate handling under the organisation's policies. The access decision alone does not control where a person later stores a permitted export or whether it is shared onward. A company may need purpose labels, controlled storage, retention and review appropriate to the data. The guide does not prescribe a universal retention period or claim that a footer warning prevents copying. It keeps the downstream consequence visible when designing the original permission.

The interface should explain the denied operation without disclosing sensitive resource details. For a legitimate U1 task, it can say that viewing is permitted while export requires the designated route. For an unknown subject, a production application may need a less revealing response. The local model displays detailed reasons for teaching; production error messages should be designed with the actual threat and usability context in mind.

7. Make outlet scope part of the returned data

An application can authorize a page correctly and still return another outlet's rows through a poorly scoped query. The subject's approved scope must constrain the data operation, not merely the navigation route. If U1 is limited to A, changing a browser parameter to B should not return B's summary. The backend needs a trusted scope decision connected to the query or resource selection.

Do not trust an outlet list supplied by the client as proof of authorization. A user can request a scope, but the service must compare it with authoritative entitlements. The teaching lab allows readers to change scenario attributes because it is an isolated simulation. That interaction is not a recommendation to accept production roles, active status or outlet permissions from an untrusted browser field.

Group views require an explicit policy about partial coverage. Linden's RG resource requires A and B, so an A-only finance analyst cannot receive it. Another design could generate an authorized A-only view with its own label and totals. The dangerous case is returning a partial result under an unchanged group heading, or returning all outlets because the user has any finance role. Scope enforcement and accurate labeling must work together.

Stable outlet identities also matter. A name change should not break scope, and a reused source code should not transfer an old manager's permission to an unrelated branch. Maintain the mapping and its effective period. Access recertification should review the actual current entity relationship rather than compare display names and assume that matching text proves a valid entitlement.

8. Test temporary cover at the exact boundary

U4's manager cover for A is valid from 10 November through before 20 November. At the baseline 12 November request, X10 is allowed. At 20 November 00:00 UTC, it is denied. The underlying manager task does not gain new export rights during temporary cover: X15 remains denied throughout. Temporary cover should inherit the specified scope and operations, not every privilege the absent person has accumulated.

The cover record identifies the grantee, granting process, resource or role scope, start, end, evidence and owner. It should say how early termination is handled if the original manager returns or the business need ends. A calendar reminder alone does not remove system access. The implementation needs a reliable expiry evaluation or an appropriate controlled revocation process, and the drill should test what happens when the expected administrator is unavailable.

Historical audit needs the permission state at the request time. Evaluating a 12 November request using today's expired record would answer a different question. Preserve appropriate grant history and decision logs so a reviewer can distinguish an allowed request during valid cover from a later request after expiry. The same point-in-time discipline used for reference data applies to access attributes.

An access extension should be a new or revised authorized record, not a silent change that makes every past request look valid. Record why the extension was needed and which scope changed. If a system allowed access after expiry, the investigation should assess what was actually accessed and fix the cause. Updating today's end date does not establish that the earlier out-of-policy access was legitimate.

9. Handle leavers and role changes without overclaiming completion

U5 is inactive, so X11 is denied even though the old manager role and A scope remain in the historical fixture. Active status is a prerequisite, not another permission that can be outweighed by a broad role. A production company needs an authoritative offboarding process that reaches the relevant accounts, sessions, tokens and integrations. A disabled directory entry does not prove every separate system has received the change.

Role changes require scope review too. If U1 moves from A to B, remove or expire A's permission through the company's process and establish B's. Do not simply add B indefinitely while retaining A because no one wants to disrupt access. Some overlap may be intentionally authorized for handover, but it needs a defined period and purpose. The access record should express that decision rather than leave an accidental permanent expansion.

Check nonhuman identities. A scheduled report, integration account or vendor service can continue operating after its human owner leaves. It needs an accountable owner, defined operations and a review route. The fixture's U6 is a named technical supplier identity for clarity, but real service accounts require suitable credential and lifecycle controls. The guide does not ask readers to publish secrets or copy production tokens into the lab.

Closure evidence should identify the systems and access paths checked. “Leaver complete” after disabling one application is too broad if shared exports or another reporting service remain accessible. A bounded conclusion can say which routes were tested and which remain outside scope. Honest coverage makes an access review useful without pretending a small checklist certifies the entire company's security.

10. Design a narrow emergency grant

The fictional emergency scenario allows U1 to view RD for a specific incident task from 12 November 10:00 UTC through before 11:00 UTC. It references a fictional incident and independent approval. It applies to exactly U1, RD and the view operation. It does not permit export, another subject, another restricted resource or an inactive identity. The narrow scope makes the exception testable.

At 10:30 with that approved grant, X14 changes from denied to allowed. The matrix becomes nine allows and eleven denials. X09, finance's restricted export, remains denied. At exactly 11:00 the emergency grant expires and X14 returns to denied. The ordinary policy remains unchanged, and the expired grant stays in the history as evidence rather than being deleted to tidy the configuration.

A production emergency process needs appropriate approval, purpose, monitoring and review designed for its actual context. The lab's typed approval reference is not proof that a real authority acted. It illustrates the required decision record. A broad emergency administrator role with no resource or time boundary would be a different policy and should not be presented as equivalent to this one-resource, one-operation grant.

After the incident, review whether the access was used for its approved purpose and whether the ordinary workflow needs improvement. Emergency grants can reveal that a legitimate recurring task lacks a usable authorized route. They can also reveal unnecessary scope. The company should learn from the pattern without retroactively converting every emergency exception into an ordinary permanent permission merely because it was convenient.

11. Keep prerequisites stronger than optional grants

The simulation checks subject existence, active status, validity period, resource existence and supported operation before considering an emergency grant. A grant cannot authorize an unknown account or revive an inactive identity. It also cannot invent a delete operation that the resource catalogue does not support. These are explicit teaching-policy choices that make the exception boundary understandable.

Policy-combination rules need the same clarity. If several roles or grants apply, does an explicit denial override an allowance, or are some restrictions absolute while others are ordinary missing permissions? Linden treats restricted export as unavailable through its modeled routes and uses the emergency grant only for the named detail view. It does not implement a general policy language with every possible combining algorithm. The company should not infer one from a programmer's choice of conditional order.

Avoid relying on display-role precedence such as director beats manager. A hierarchy can be appropriate when deliberately defined, but a higher job title does not necessarily need every lower role's sensitive operation. A board member may need a group summary without refund detail; a specialist may need detail without business approval authority. Design the actual task permissions and test the resulting combinations.

When a mandatory attribute is missing, the decision should explain the unresolved prerequisite through an appropriate controlled route. Do not substitute active=true or unlimited scope because a lookup failed. A fallback that broadens access during an identity-service outage may create the opposite of the intended protection. The company needs a deliberate continuity policy for access failures, with the relevant business and security owners involved.

12. Build the interactive policy matrix

The lab uses the six subject records, five resource records and twenty requests. It evaluates the same policy for every row, returning allow or deny and a specific reason. Scenario controls change the evaluation timestamp, U3's approved outlet coverage and the presence of the narrow emergency grant. The tool then recomputes row decisions and counts; it does not replace the result with a prewritten scenario label.

With finance scope changed to A only at the baseline time, X06 and X07 are denied because RG requires both A and B. X08 and X19 remain allowed because their resources require A. Total ordinary allows fall from eight to six. This scenario tests all-required-scope logic rather than a weak check that any listed outlet overlaps. A hidden partial group result is not an acceptable substitute under the fixture policy.

At 20 November, U4 and U6 no longer meet their declared access periods. Their ordinary allowed cases X10 and X12 become denied, while other baseline decisions remain unchanged. The emergency grant from 12 November is also expired. A tool that checks only the date when the page first loaded could retain stale permission in a long session; production enforcement must evaluate the relevant current authorization context for the requested operation.

The model validates its fixture identities and rule inputs, and its test suite checks exact boundaries, unknown subjects, unknown resources, unsupported operations and inactive users. It returns the decision path for teaching. The result does not prove that a real API uses the same function or that every endpoint has been inventoried. Integration verification is a separate, necessary part of applying the framework.

13. Verify enforcement beyond the visible interface

An interface can hide a link while its data endpoint remains accessible. Conversely, a visible link can lead to a correctly denied request. The first is an enforcement problem; the second may be a usability issue. A company should test the actual authorized data route in an approved environment, with known test identities and expected results. A screenshot of the navigation bar is insufficient evidence of data isolation.

Positive tests verify that legitimate work succeeds with the correct scope and fields. Negative tests verify that an out-of-scope subject cannot obtain the resource by another supported route. The scope of testing must be authorized and bounded; the public lab is not permission to probe somebody else's application. Within a company test environment, retain request identity, policy version, expected decision and observed response without unnecessarily copying sensitive payloads into a general report.

Caching and background jobs need attention. A report generated under U3's broad scope should not be returned to U1 from a shared cache merely because the chart title matches. A scheduled export should evaluate its governed identity and scope, not inherit whoever created the schedule forever without review. The test plan should identify where authorization context is applied and preserved through those paths.

Fields can have different sensitivity even inside one resource. A summary endpoint may accidentally include hidden detail fields in its response because the frontend does not display them. Scope review should inspect the actual returned data under an approved test, not only the rendered chart. A data-minimized resource is easier to govern than a broad payload whose sensitive columns are merely hidden with styling.

14. Treat aggregate disclosure as a content question

Aggregate does not automatically mean anonymous or commercially harmless. A one-order cell can reveal an individual transaction. A small outlet total can disclose sensitive performance. Comparing overlapping filters can sometimes reveal a suppressed component. The resource owner should assess actual content and use appropriate controls for the purpose and jurisdiction. The fixture's aggregate label is a policy category, not a proof that every privacy risk has been removed.

A group summary may require only period totals and operational indicators, while a refund investigation needs event-level evidence. Separating those resources reduces the need to give every analyst raw detail. The company can design a controlled drill-down route when the task genuinely requires it. The goal is useful task completion with a clear evidence path, not withholding information indiscriminately or assuming that more data always produce a better decision.

Derived exports should preserve the same scope. A chart download, accessible table and API response should not disagree about which outlets or fields are included. Accessibility features are part of the resource design and should remain available to authorized users. Hiding a table from all keyboard users is not an access-control solution. The distinction is who is authorized for the data, not which input device they use.

Review new filters and joins as resource changes. Adding a customer segment or supplier dimension can alter what a previously harmless summary reveals. The policy catalogue should have an owner who can assess that change before release. A resource's old approval should not be treated as permanent permission for every future field added beneath the same URL and familiar title.

15. Use access logs for specific evidence questions

An authorization log can record subject reference, resource, operation, time, policy version, decision and relevant reason. It should avoid storing passwords, full session secrets or unnecessary sensitive query results. The company needs appropriate controls for the log itself because access history can reveal staff behaviour and business activity. Logging is an evidence capability, not an excuse to collect everything indefinitely.

An allowed decision log does not prove that the user actually viewed the returned report or used it correctly. A denied decision does not prove malicious intent. A manager may click an old bookmark or choose the wrong outlet accidentally. Use logs to reconstruct specific events and prioritize review, then obtain appropriate context before making a conduct judgment. The tool's reason labels are explanatory outcomes, not accusations.

The time basis and identity mapping must be trustworthy enough for the intended investigation. Shared accounts make attribution weaker. Clock inconsistencies can confuse a grant-expiry review. A policy version recorded after the fact may not show which rule actually governed the request. The review pack should retain the relevant implementation evidence instead of assuming that a row in a log establishes every part of the event chain.

Define who reviews unusual patterns and what constitutes resolution. Repeated denied requests to an unknown resource might indicate a broken link or outdated integration. Repeated emergency access might indicate an incomplete ordinary workflow. A grant used outside its intended resource would require a different investigation. The evidence should lead to a bounded next action rather than a generic dashboard of red counts nobody owns.

16. Recertify permissions without approving a list blindly

A periodic review should ask whether each identity still needs each operation and scope for a current task. A manager signing a spreadsheet of role names without understanding the resources has not performed the same review as someone reconstructing a task and its data needs. Keep the access owner, business justification, last review and required change explicit. The appropriate review interval depends on the company's risk and obligations, not a universal number invented for this guide.

Review changes as well as the current state. New outlets, new export routes, changed supplier contracts and temporary cover can introduce permissions between scheduled reviews. A maintained joiner, mover and leaver process complements periodic recertification. The baseline fixture demonstrates why an active manager role alone is insufficient: scope and expiry can change independently while the visible job title stays the same.

Retain evidence of executed removals. A review recommendation to remove B scope from U3 is not proof the application stopped returning RG. Confirm the actual permission state and test the affected route. If the implementation cannot express the approved policy, record the gap and choose a controlled response. Marking the spreadsheet complete does not solve a technical enforcement limitation.

Use rejected or returned review decisions to improve the catalogue. If owners cannot tell what RD contains, the resource description needs work. If legitimate tasks repeatedly require ad hoc exports, the standard workflow may need redesign. An access review should help the company maintain usable, accountable operations rather than become a recurring formality whose main purpose is obtaining every signature before a deadline.

17. Complete the company test workshop

First reproduce the eight allowed baseline request identities: X01, X04, X06, X07, X08, X10, X12 and X19. Explain each denied row in ordinary language. Then change finance scope to A only and identify exactly which two previously allowed requests change. A correct answer names RG's all-outlet requirement rather than saying finance access was removed entirely.

Next enable the narrow emergency grant at 10:30 on 12 November. Only X14 should gain permission. Move to exactly 11:00 and confirm that X14 loses it. Test inactive U5 with a matching grant and explain why mandatory active status still prevents access. These cases verify the exception boundary instead of merely demonstrating that an administrator can make the count of green rows increase.

Finally move to 20 November and verify the temporary and supplier expiry results. Prepare a short implementation test plan that maps each policy case to the actual approved route, test identity, expected fields and observed response. State which routes remain untested. The company should be able to distinguish an agreed policy, a passing pure model and a verified production enforcement claim.

Methods, sources and boundaries

Boundary drill: the correct allow count can conceal the wrong policy

Change U1's outlet scope from A to B without changing the request matrix. X01 should become denied and X02 should become allowed. The total number of allowed requests remains eight in this fixture, but two row decisions have changed. A regression test that checks only eight allows would miss the scope mutation entirely. This is the access-control equivalent of two financial errors cancelling in a total.

The expected-answer file therefore records the identities of allowed requests, not only their count. An implementation check should compare each actual decision with the expected decision for that request and explain differences. A policy deployment that preserves an aggregate pass percentage while returning another outlet's data is not a success. This fixture makes that failure concrete without needing any real confidential report or production account.

Now remove U3's B scope at the same time as enabling U1's narrow emergency view. Two group permissions disappear and one detail-view permission appears. The total drops from eight to seven. The count alone cannot explain whether the change came from finance scope, emergency use or an unrelated bug. The decision trace identifies X06 and X07 as scope denials and X14 as the one specific grant allowance. Preserve that trace when comparing policy versions.

This approach also improves review conversations. Instead of asking whether access became more restrictive in general, a manager can ask whether each changed task still has an appropriate route. A denied legitimate group-analysis task may require a scope approval or a different resource. An allowed detail task may need a clearer purpose. Reviewing the changed request population leads to bounded decisions rather than an argument about whether more green or more red is inherently safer.

Boundary drill: a queued operation crosses the grant expiry

Assume U1 requests the permitted RD view at 10:59 under the emergency grant, but the protected operation is deferred until 11:01. A company must define which event its authorization rule governs. This laboratory evaluates the time of the protected operation supplied to the decision function. Under that rule, evaluating at 11:01 denies the request. A button click before expiry is not a permanent capability that survives an arbitrarily delayed execution.

A production queue needs a trustworthy identity and scope context, an appropriate re-evaluation point and a controlled response when permission has expired. It should not store a client-supplied allow=true flag and treat it as enduring authority. Some systems deliberately issue bounded capabilities for a defined operation; if used, their validity and revocation semantics need separate design and testing. The guide does not claim that every architecture must implement the same mechanism, only that the governing policy must be explicit.

The recovery path should also be usable. A legitimate operator whose task expires can request a new authorized grant through the proper route, or the job can be returned with an explanation appropriate to its audience. The system should preserve the expired attempt and any new decision as separate records. Extending the original grant after the fact to make the delayed request appear authorized would erase the distinction the test is intended to preserve.

All identities, resources, request records, scope assignments, dates and grants are original fictional teaching material. The model is a bounded authorization-decision simulator. It does not authenticate, enforce network or database access, approve real emergency use, validate legal authority or certify security. Its detailed denial reasons are for learning and may need a different disclosure design in a production application.

Primary references are the NIST ABAC guide for subject, object, operation and environment attributes, and the archived NIST RBAC project for the historical role-permission concept. The restaurant matrix, exact allow counts, grant boundaries and workflow are this guide's own policy construction. No source endorses the invented permissions or establishes compliance for a real restaurant.

Use the request CSV and answer file to inspect the complete matrix. Before implementation, have the actual data and task owners approve the policy, then test that every relevant route enforces it. A useful access framework explains both why legitimate work is allowed and why a specific out-of-scope request is refused.

Research sources and scope

Build on the foundations

These introductory resources are already available in the existing website library.