Skip to content
>_ StartupJobList_

Assess the work

Full-stack interview scorecard: invitations, permissions and seat limits

Follow an invitation from an admin action to a persisted seat reservation and email delivery. Assess how a candidate keeps permissions, retries and customer feedback consistent when those steps fail independently.

Run a bounded 60-minute interview

This is a discussion of one product workflow across browser, API, authorization, capacity and delivery. It does not demonstrate implementation, debugging or testing ability. If those are required, substitute a separately bounded work sample for one discussion stage instead of extending the session.

Core agenda. Use the same scenario, time boundaries and fixed prompts for each candidate in this round.
MinutesStageEvidence soughtStop rule
0–4Explain format and read the prompt.Candidate understands supplied facts and can surface an assumption.Clarify only what is in the prompt.
4–16Trace the vertical slice.User action, request, server boundary, durable invitation state, email and visible status.At minute 16, move to permissions.
16–28Check tenant and role permissions.Authority to invite, target-workspace binding and denial path.Ask the fixed direct-request follow-up once.
28–42Apply the seat cap under concurrency.Product rule, concurrent invitation/acceptance behavior and safe conflict result.Use one concurrent change; do not add a second quota puzzle.
42–51Recover from retry and email failure.Lost-response semantics, duplicate policy and delivery state.Ask the fixed timeout follow-up once.
51–55Test and support.One targeted test and useful safe support signal.Do not request code in this discussion.
55–60Candidate questions and close.Time for the candidate to learn about scope and support.Stop at 60; mark unasked evidence NO.

Before the round, decide who reads, who timekeeps and who takes notes. Share the duration and discussion-only format in advance, offer an adjustment path and apply the same core prompt. If a stage overruns, preserve candidate questions by moving on at the stop time rather than extending the session.

Policy facts in this sample are intentionally incomplete. Do not score a candidate for guessing whether pending invites reserve seats. Score whether they identify that decision and explain how it changes the system and user outcome.

↑ Back to sections

Candidate prompt

This packet gives the candidate the scenario and task only. Do not include the interviewer notes or expected approaches when sharing it.

Scenario

A workspace has a limit of 25 seats. It currently has 23 active members and one pending invitation. A workspace administrator invites a teammate by email. The product team has not yet decided whether pending invitations reserve a seat or how long they remain valid.

Two administrators can act at nearly the same time. An invitation request can be accepted by the service even if the browser times out before showing the response. Sending email depends on a separate provider.

Your task

  1. Trace one invitation from the administrator's action to the teammate's accepted membership and the status the administrator sees.
  2. Explain where permission is checked and what the system does when a user without invite authority calls the operation directly.
  3. Discuss how the agreed 25-seat policy should behave when two invitations or acceptances race. State the product decision you need.
  4. Explain what happens after a timeout and what happens if email delivery is delayed or fails.
  5. Name one test and one safe signal that would help the team support the workflow.

You do not need to choose a framework, database or email provider. Call out assumptions and ask for missing product rules. This is a discussion, not a coding exercise.

↑ Back to sections

Trace the invitation end to end

Fixed prompt: “Walk through a successful invitation from the admin clicking Invite until the teammate joins. At each step, say what is authoritative, what can fail, and what the admin can see.”

Look for a coherent vertical slice rather than isolated framework trivia: an explicit form and submission state; a request bound to the target workspace; server-side validation and authorization; a durable invitation or equivalent pending state; a delivery attempt; acceptance that changes membership under the policy; and a response/status the user can interpret.

Ask how the UI distinguishes “request accepted by service,” “email sent or pending,” “invitation accepted,” and “request outcome unknown after timeout.” Those are not necessarily identical states. A good design avoids showing “sent” just because a browser button was clicked, and avoids leaking invitation secrets in status text or logs.

  1. 1. Submit. Admin supplies email and intended role.
  2. 2. Authorize. Service authenticates caller and checks authority for this workspace.
  3. 3. Record. Service validates policy and creates or returns the invitation outcome.
  4. 4. Deliver. Delivery component attempts email and records useful status.
  5. 5. Accept. Recipient follows a valid invitation and authenticates.
  6. 6. Recheck. Service checks invitation and seat policy before membership is activated.
  7. 7. Report. Admin sees pending, accepted, expired or actionable failure state.

This is a boundary map, not a required microservice architecture. Email may be delivered by a managed provider, background worker or another mechanism. The design must say what is persisted before an external delivery attempt, how failed delivery is retried, and how support distinguishes pending from accepted without retrieving a secret token.

OWASP's authorization guidance recommends checking permission on each protected request and denying by default. The workflow still needs a product-specific policy for who can invite and which workspace the action affects: OWASP Authorization Cheat Sheet.

↑ Back to sections

Keep authorization tenant-bound

Fixed prompt: “A signed-in user changes the workspace identifier in the request, or calls the invite endpoint without using your UI. What must the service verify before creating an invitation?”

Strong evidence separates authentication (“who is making this request?”) from authorization (“may this principal invite into this workspace with this role?”). The service should derive or validate workspace membership using trusted session identity and the requested resource, then enforce the permission at the operation that creates, revokes or accepts the invitation. A hidden button or random-looking invitation ID is not an authorization check.

Ask how a target workspace, email address and requested role are bound to the invitation, what prevents a caller from choosing a higher privilege, and whether an invitation can be accepted by a different authenticated address. The candidate may identify product/legal choices rather than guess them. Credit a clear denial behavior and a test for each permission-sensitive operation.

Include the resource owner in the boundary discussion. An invite belongs to a workspace; a user may belong to several workspaces; acceptance should not silently move a member between workspaces or grant a higher role. The exact identity and account-linking policy depends on the product, so the hiring team must specify it before using this scenario in an interview.

Useful evidence to record

Specific: “The request may carry a workspace selector, but the service checks it against the authenticated actor's current membership and invite permission. I would test a regular member calling the endpoint directly and an admin using another workspace's ID.”

Not enough by itself: “The invite URL is hard to guess.” A secret link may be part of the flow, but it does not establish that the inviter had permission or that the acceptance policy is correct.

Use safe fixtures with two workspaces and distinct users. Do not test with real member records or copy valid invitation tokens into logs or interview notes.

OWASP recommends deny-by-default behavior and permission validation on every request. It does not choose this product's role model or invitation policy: OWASP Authorization Cheat Sheet.

↑ Back to sections

Protect the seat limit and recover

Fixed change one: “The business confirms that active members plus pending invitations may never exceed 25. Two administrators concurrently submit invitations while one seat appears available. What can go wrong with a read-then-insert check, and what would you change?”

Fixed change two: “The service commits an invitation, but the browser times out before the response arrives. The admin retries. Separately, the email provider is unavailable. What does each retry do, and what state can support inspect?”

A strong answer identifies the concurrency window: both requests can observe one remaining seat before either writes. It should explain how the chosen persistence boundary makes reservation and invitation creation consistent, what conflict/retry behavior follows, and how the product reports a full workspace. Options depend on the existing model. A transaction, constraint, lock, conditional update or serializable approach may fit; naming one is not sufficient without explaining the invariant and failure result.

Be precise about product policy. If pending invites do not reserve seats, acceptance must still enforce capacity. If pending invites do reserve seats, expiration/revocation and resend behavior need to release or preserve the reservation intentionally. If membership removal and acceptance can race, define which operation wins and how the user learns the result.

For the lost response, the candidate should distinguish “client does not know” from “server did not commit.” A stable request identity or lookup rule can let a retry return the same invitation outcome; alternatives can work if they define duplicates. Email is an external side effect: persist a recoverable status and retry delivery safely. Do not claim that one database transaction also commits a remote email. A delivery retry should not create a second membership or silently change the invitation's target/role. If the API reports a capacity conflict with an HTTP error status, browser fetch() still resolves to a response; the client must inspect its status rather than handle it only as a rejected network promise.

MDN documents this Fetch response behavior and the use of Response.ok/Response.status to interpret HTTP results: MDN Using Fetch.

Illustrative flawed flow, not executed:

if (await activeAndPendingSeats(workspaceId) < limit) {
  await createInvitation(workspaceId, email, role);
  await sendInvitationEmail(email);
}

Two concurrent requests can both pass the count check. The function also gives no durable answer if the email call fails after invitation creation or if the caller loses the response. Ask what invariant the service must preserve, which state is committed together, and how each retry is recognized. This pseudocode is intentionally incomplete and is not a complete application example.

PostgreSQL documents transaction isolation and notes that a serializable transaction can be rolled back with a serialization failure when concurrent operations cannot be represented as a serial execution. Applications using that level must handle the failure; it is not a blanket guarantee from any “transaction.” PostgreSQL SET TRANSACTION. The chosen design must also account for delivery outside the database transaction.

↑ Back to sections

Rate evidence against the role

Write a specific statement or decision before choosing a rating. Use the same 1–4/NO anchors for each competency. The rating describes evidence in this discussion, not a candidate's general worth or potential.

Shared anchors. Record why evidence is missing when marking NO.
RatingAnchor
1 · Material gapAfter the fixed follow-up, the answer leaves a core permission, capacity or recovery risk unaddressed or relies on a materially incorrect assumption.
2 · Partial evidenceIdentifies the issue and a plausible action but leaves a central consequence unresolved or needs substantial prompting to connect the solution to the outcome.
3 · Meets this role's barGives a workable approach, states the relevant product assumption, explains the main trade-off and names a test or recovery behavior.
4 · Strong independent evidenceMeets level 3 and also anticipates an interaction or failure window, compares options against the stated constraints and explains how to operate or verify the result.
NO · Not observedTime, an unclear prompt, interruption or an agreed adjustment left too little evidence. Record why; never convert missing evidence to 1.

Worked example: partial evidence, rating 2

Hypothetical observation: “The invitation and seat reservation need one concurrency-safe boundary; after a timeout, I would retry.” After the fixed timeout follow-up, the candidate cannot explain how the retry finds the committed invitation or what status the admin receives while email delivery remains pending.

Dimension and rating: retry and external delivery, 2. The candidate protects the capacity invariant and notices the lost response, but leaves the duplicate policy and user-visible outcome unresolved. A specific request identity or lookup rule, a distinct delivery state and a test for retry-after-commit could support a 3. This rating reflects the answer after the fixed follow-up, not a general judgment of the candidate.

Worked example: strong evidence, rating 4

Hypothetical observation: The candidate asks whether pending invitations reserve seats, models acceptance as another capacity-changing operation, and says the reservation check and state change need one concurrency-safe boundary. They explain how a conflicting request returns a clear full-cap result, how a timed-out retry finds the existing invitation, and how a two-request race test checks the invariant.

Dimension and rating: capacity and recovery, 4 if this level of independent reasoning matches the role. The rating reflects the stated evidence and should not be generalized to unasked competencies.

Not observed example

If the capacity stage is skipped because the interviewer overruns the vertical-slice discussion, mark capacity NO with “not asked; interviewer timing.” Do not infer failure or use answers from another dimension as a substitute.

Five competencies for this sample role. Adapt to the actual job before interviewing.
Competency1 · Material gap3 · Meets role bar4 · Strong independent evidence
Vertical-slice and product reasoningNames disconnected components but cannot trace the outcome or clarify policy ownership.Explains the request-to-status path and identifies product rules needed.Also spots boundary/status ambiguity and proposes a verifiable thin slice without overbuilding.
Tenant authorizationTrusts UI visibility, caller-supplied workspace or a hard-to-guess identifier alone.Checks authenticated actor's permission against the target workspace at the service operation.Also traces direct request, role changes and acceptance boundaries into negative tests.
Seat capacity and concurrencyUses an unprotected count-then-write and leaves the cap race open.States pending-seat policy and chooses a concurrency-safe state boundary with a conflict result.Also covers simultaneous acceptance/removal, retry after conflict and the product-visible outcome.
Retry and external deliveryAssumes timeout means failure or database commit includes email delivery.Defines duplicate-safe retry behavior and distinct persisted/delivery status.Also explains reconciliation/support evidence and limits of the chosen delivery retry mechanism.
Testing and operational communicationOffers only a happy-path test or exposes secret values in support/log output.Names a safe concurrency/authorization test and an actionable non-secret signal.Prioritizes tests by risk and describes how an operator identifies and recovers a stuck state.

Do not total the scores into an automatic hiring cutoff. Compare independent notes against the agreed outcomes, support available and remaining evidence. A level 2 may be appropriate for a learnable skill in a supported role; level 4 matters only where the job needs that independence.

OPM describes consistent questions and evaluation standards as part of structured interviews. This sample has not been validated and is not legal guidance for every location: OPM structured interviews.

↑ Back to sections

Printable interviewer evidence sheet

The interviewer packet repeats the schedule, fixed prompts and role-specific anchors. Interviewers should complete independent notes before discussing the evidence.

Use the print button for this self-contained packet only.

Role / level: ______________________________ Date: ________________

Candidate identifier: ________________________ Interviewer: _____________

Adjustment / prompt change agreed before round: ____________________________________

60-minute agenda and fixed prompts

Use the same core prompt and timing for candidates in this round.
TimePromptStop note
0–4“What assumptions or policy questions do you want to surface from the prompt?”Clarify supplied facts only.
4–16“Walk through a successful invitation from admin clicking Invite until the teammate joins. At each step, what is authoritative, what can fail and what can the admin see?”At minute 16, move on.
16–28“A signed-in user changes the workspace identifier or calls the endpoint outside your UI. What must the service verify before creating the invitation?” Follow-up: “How would you test that another workspace's invitation cannot be created or read?”Ask one follow-up.
28–42“Active members plus pending invites may never exceed 25. Two admins act while one seat appears available. What can go wrong and what changes?”Candidate may state policy assumption; one concurrency scenario only.
42–51“The service commits but the browser times out; the admin retries. Email is also unavailable. What does each retry do, and what can support inspect?”At minute 51, stop.
51–55“Name one test and one safe signal for the workflow.”No code requested.
55–60Candidate questions and close.Stop at minute 60; unasked evidence is NO.

Shared rating key

1: core risk remains after follow-up. 2: partial, central consequence unresolved. 3: workable, assumption/trade-off/test stated. 4: independent reasoning anticipates interaction and verification. NO: insufficient evidence; state why. Never score NO as 1.

Five role-specific anchors

Read with the shared rating key. A 3 meets this sample role's bar; adapt before use.
Competency1 · Gap3 · Meets role bar4 · Strong evidence
Vertical sliceCannot connect action to persisted outcome.Traces request, state, delivery and visible status.Identifies cross-boundary failure and a bounded observable slice.
AuthorizationTrusts UI or caller-supplied workspace.Checks actor permission against target at protected operation.Includes direct request, role change and acceptance tests.
Capacity/concurrencyLeaves count-then-write race unaddressed.Defines pending policy and safe update/conflict outcome.Covers related acceptance/removal and retry interactions.
Retry/deliveryConflates timeout with failure or email with commit.Defines duplicate-safe retry and distinct delivery state.Explains reconciliation and support evidence with limits.
Testing/operationsHappy path only or unsafe secret handling.Names a safe negative/race test and useful signal.Prioritizes risk and gives an operator recovery path.

Evidence notes

Record job-related words or decisions, implication for the agreed role, and any missing evidence. Do not record secret invite URLs/tokens or personal impressions.

Write evidence before rating each competency.
CompetencyObserved words / decisions1 / 2 / 3 / 4 / NOMissing evidence or follow-up
Vertical-slice and product reasoning


Tenant authorization


Seat capacity and concurrency


Retry and external delivery


Testing and operational communication


Independent debrief

Evidence we agree on:

_________________________________________________________________________

_________________________________________________________________________

Different readings against an anchor:

_________________________________________________________________________

_________________________________________________________________________

NO ratings and consistent next step:

_________________________________________________________________________

_________________________________________________________________________

Role support or scope implications:

_________________________________________________________________________

_________________________________________________________________________

Before using this scorecard

  • Confirm that these competencies and the pending-seat policy match the actual role.
  • Have product, application-security and persistence reviewers inspect the scenario and anchors.
  • Dry-run the agenda with an interviewer; no timing or human pilot is claimed here.
  • Share duration and format in advance and provide an adjustment path.
  • Keep candidate information under the organization's access and retention rules.

This is a discussion starting point, not a validated selection instrument or automated recommendation. It does not test implementation, debugging or testing directly. The employer remains responsible for role analysis, consistent use, accommodations and the final human decision.

↑ Back to sections

Choose your next step