SaaS tenant-role test matrix: evidence before a release

Blank working matrix and fictional test example. Use this resource when a SaaS feature, API or data-layer change could alter who can do what across customer tenants. The output is an explicit permission expectation, an observed test result and an owned release decision, not a claim that the whole application is secure.

This is different from reviewing whether people still need their assigned access. It checks whether the application enforces selected permissions under specified conditions. It is also different from buying a penetration test: a bounded regression matrix can support release work without replacing a broader security assessment.

Establish the policy and the safe test boundary

Before testing, ask the product or data owner to confirm:

  • Who: the person, account or system making the request.
  • What action: for example, reading, editing or exporting.
  • Which resource: the record or other item involved.
  • Which tenant: the customer’s separate area of the application.
  • Other conditions: any limits that affect the permission.

Include actions that must be denied as well as those that should succeed. The system’s current behavior is an observation, not automatically the correct rule.

Use an approved test environment, authorized test identities and invented records. Record the build, relevant configuration and differences from production. Do not use another customer’s live records or probe an environment you are not authorized to test. This worksheet grants no permission to create accounts, transmit data, change roles or run tests.

Before a test that could change data or trigger other work:

  1. Agree when to stop and whom to contact.
  2. If real customer information appears, stop that test and use the responsible security or privacy process.
  3. Do not collect more examples of the exposed information.

Keep tokens, credentials and sensitive request or response data out of the working matrix.

Blank scope and run record

Blank SaaS authorization test scope and run record
FieldEntry to complete
Feature/change and business reason[Change reference; affected workflows and intended release]
System boundary and approved environment[Service, build, configuration, integrations and differences from production]
Policy/version and accepting owner[Approved actor-resource-action rules; tenant and ownership conditions]
Authorized test identities and data[Controlled references; represented roles/tenants; invented test objects]
Test selection and excluded paths[Why these combinations; omitted roles, APIs, jobs, caches or shared-resource paths]
Test authority, run date and recorder[Approval reference; dates/time zone; responsible roles]
Expected observation method[Response content, operation/side effects, access decision and controlled evidence sources]
Stop/escalation and cleanup[Conditions; authorized owner; safe cleanup method]

Copyable permission and result matrix

Create separate rows for materially different operations and conditions. Do not merge “can read,” “can edit” and “can export” into one permission just because the same role performs them.

Blank actor resource action test matrix
Test ID and policy referenceActor, tenant and conditionsResource and actionExpected result and reasonObserved result, time and evidenceStatus, gap owner and retest reference
[ID][Role; tenant; session/context assumptions][Object/tenant; operation; route][Allow or deny; permitted content and side effects][Actual response and operation, not just status code][Pass / Gap / Not tested / Stopped; owner]

Check the actual result:

  • Allowed action: confirm that the intended operation worked on the permitted resource.
  • Denied action: confirm that the tested route did not disclose the protected content or carry out the forbidden operation.

A hidden button does not show that the server enforces the rule. A denial message is not enough if a background job still ran.

An error, timeout or missing observation is not automatically an authorization denial. Keep Not tested or Unresolved observation visible rather than converting it into a pass. Record the result of a retest separately so the original gap and its fix remain traceable.

Fictional example: a denied export still creates a job

All names, rules, builds, records and observations in this example are invented. This is teaching material, not a real test report or a claim about a product.

For the fictional staging build R8, the rules are:

  • Members may read their own tenant’s tickets but may not export them.
  • Tenant administrators may read and export their own tenant’s tickets.
  • Neither role may read or export another tenant’s tickets.
  • Requests without valid authentication may not read tickets.

There is no shared-ticket feature in this exercise.

The approved test setup contains tenants Alpha and Beta; one member and one administrator in each; ticket A1 in Alpha and B1 in Beta. Each test below has a fresh recorded test context. The observations are supplied inputs to the exercise, not results you should expect from your own application.

Fully fictional tenant authorization test observations
TestActor and actionExpected under the fictional policySupplied fictional observationSupported result
T1Alpha member reads A1 through the APIAllow A1A1 returned; operation record names Alpha member and A1Pass for this route and context
T2Beta member reads A1 through the APIDeny; no A1 contentAccess denied; no A1 content returned; decision record identifies tenant mismatchPass for this route and context
T3Beta administrator exports Alpha ticketsDeny; no Alpha export createdAccess denied; controlled job record shows no job created by this requestPass for the observed operation; no conclusion about all export paths
T4Alpha administrator exports Alpha ticketsAllow Alpha records onlyExport contains A1 and no Beta records; operation record ties job to Alpha administratorPass for the supplied test population
T5Alpha member exports Alpha ticketsDeny; no export job createdAPI returns a denial, but the controlled job record shows a completed export job triggered by that request; file accessibility was not checkedGap: forbidden operation occurred; disclosure remains unestablished
T6Unauthenticated request reads A1Deny; no A1 contentAccess denied; no content returned; decision record identifies missing authenticationPass for this route and context

Exercise decision: T5 cannot pass because its response says “denied.” The observed job creation contradicts the policy’s required outcome. The owner should investigate and apply the organization’s release/exception process. Then retest with evidence of both the response and the operation. The packet does not establish whether anyone could download the file, how broadly the defect occurs or whether the other five results cover all routes.

A count of five passing rows out of six is not a security or SOC 2 compliance percentage. The affected operation and possible consequence matter more than the row average. The six cases are not a complete authorization test suite: omitted paths include other objects, roles, asynchronous download routes, integrations and production configuration differences.

Copyable release-decision closure

  • Build, configuration, scope and linked test run: __________.
  • Unresolved gaps and untested paths: __________.
  • Authorized decision-maker and actual decision: [hold / require changes / proceed within stated authority / escalate; record what was decided, not an automatic result].
  • Decision reference, date and time zone: __________.
  • Required fixes, retests, owners and completion evidence: __________.
  • Accepted limits, accepting authority and basis: __________.
  • Change or finding that requires reconsideration: __________.

The test owner supplies evidence; the authorized release owner records the decision under the actual release process. Filling these fields does not grant release authority or allow an internal exception to override an external obligation. Keep the original gap, later retest and decision history connected.

How this supports a SaaS SOC 2 evidence conversation

AICPA’s Trust Services Criteria are used to evaluate and report on controls over relevant information and systems. For a SOC 2 engagement, identify the actual system boundary, criteria, control description and period with the responsible assurance team. This matrix is an editorial way to document selected authorization tests; it is not an AICPA-required template or an automatic satisfaction of a criterion. AICPA: Trust Services Criteria

The control owner should retain the approved policy, test selection, build/configuration references, run evidence, exceptions and release decision. For a period-based examination, explain how this release was selected from the relevant change population and how the control operated for other applicable changes. One successful run, a vendor’s report or a configured identity provider does not establish operation across the whole period. The CPA’s engagement procedures determine the evidence needed; this record is not a SOC report or certification. AICPA: SOC services

The practical testing approach is consistent with OWASP’s guidance on actor-resource-action rules and horizontal, vertical and tenant-boundary regression tests. OWASP’s automation guidance is a technical practice, not a universal audit mandate. This blank matrix supports defining and reviewing cases; it is not executable test code. OWASP authorization regression testing

Choose a proportionate next investment

For a small change, a controlled manual set of meaningful allowed and denied cases may reveal a policy or implementation gap. Record why those cases fit the change and what remains untested. Do not treat the small set as sufficient for every release or risk.

Where permissions change frequently or combinations multiply, maintain an executable rule-driven regression suite. Budget for test identity/data maintenance, asynchronous operations, negative-case assertions and investigation of failures, not just a green pipeline badge. Independent security testing may still be appropriate for questions the regression suite does not answer. For that different planning task, use SSAE’s web application and API penetration-test scope guide.

Use the evidence packet template to assemble the result. If the actual problem is a removal request that did not change effective permissions, use the narrower residual-access verification resource. Those are different jobs; closing an access-review ticket does not establish that a new export endpoint enforces its policy.

Permissions are only one promise your service needs to keep. If a customer is also asking about suppliers, recovery or leaving the service, use the SaaS guide to choosing the next customer-evidence task to find the check that answers that question.

Leave a Reply

Your email address will not be published. Required fields are marked *