API, Data, Permissions, and Privacy

Lesson 6 · Prove boundaries hold

© 2026 Jared Cluff · Labalicious · Lesson 6

Today’s outcome

  • Read safe API evidence
  • Test roles and tenant isolation
  • Recognize privacy/security risk
  • Write responsible security findings
© 2026 Jared Cluff · Labalicious · Lesson 6

Authorization is a chain

Identity → role/permission → server decision → organization filter → database policy

Any one layer can be wrong. Multiple layers protect the customer.

© 2026 Jared Cluff · Labalicious · Lesson 6

Hidden UI ≠ security

A disabled or invisible button helps usability.

The server and data layer must still deny a forbidden request.

© 2026 Jared Cluff · Labalicious · Lesson 6

Safe evidence collection

  • synthetic accounts only
  • redact headers, tokens, cookies, PII
  • record status and safe response summary
  • never test unknown systems or production boundaries
© 2026 Jared Cluff · Labalicious · Lesson 6

Demo: UI denial vs. API denial

Compare:

  • expected wrong-role UI state
  • forbidden server/API result
  • correct organization-scoped data result

All three matter.

© 2026 Jared Cluff · Labalicious · Lesson 6

The tenant question

“Can a user from organization A see or change organization B’s data—even by guessing an ID?”

That is a high-impact QA question.

© 2026 Jared Cluff · Labalicious · Lesson 6

Lab: Tenant-Boundary Escape Room

Test four controls: list/detail isolation, PATCH permission, positive owner control and UI/API send denial.

PATCH does not persist. Unsupported writes are not authorization tests.

Deliver: four-lock evidence table and regression recommendation.

© 2026 Jared Cluff · Labalicious · Lesson 6

Report responsibly

State:

  • exact scope
  • synthetic account and environment
  • observed/expected result
  • evidence
  • customer impact
  • remediation direction

Avoid sensational claims or live exploitation.

© 2026 Jared Cluff · Labalicious · Lesson 6

Exit ticket

Name two independent layers that should enforce tenant isolation.

© 2026 Jared Cluff · Labalicious · Lesson 6