imbahub
Menu +
US
Talk to us
IMBAHUB / Knowledge & guides

Test what happens to a document when permissions change.

A document portal must do more than let the intended user sign in. Test that another customer is denied and that removing permission has the agreed effect on future downloads. Use test accounts and synthetic files in an environment where this testing is authorized.

Which access are you trying to stop?
  1. New download

    Request the same file after revocation.

  2. Old link

    Exercise its agreed lifetime and blocking mechanism.

  3. Downloaded copy

    A local copy is outside an ordinary portal access block.

Separate future access from material already delivered.

A new session is denied, but the old one can download. Is revocation established?

No. Record the existing session's result and compare it with the agreed requirement before approval.

Write expected decisions before testing

Create two separate test customers with one file each and an administrator. Specify which roles can view names, open previews, download and share. Include a user who has no customer relationship at all.

In the fictional exercise, customer A may read A's delivery sheet and customer B may read only B's. Distinguish intentionally permitted sharing from an access failure. Also agree how quickly revocation must affect sessions and temporary links.

Exercise the file route outside the listing

Open an authorized test file, identify its actual delivery route and try it with the right test account, the wrong account and no login. Test separate metadata or preview routes too. Change only test identifiers within the authorized sample.

A hidden button proves only that the interface changed. Establish whether a direct request still delivers the file. A hard-to-guess filename alone does not establish that customer boundaries are enforced.

ExerciseExpected decisionEvidence to record
Right customer, valid permissionIntended download allowedCorrect file and version
Other test customerNo unauthorized file or metadataControlled refusal on every delivery route
Anonymous requestNo unauthorized deliveryNo file through its direct address
Revoked customer relationshipAgreed restriction takes effectExisting session and new request
Previously created sharing linkFollows the agreed revocation ruleActual result and any remaining lifetime

Revoke access while the session stays open

Leave the test user's portal open and remove permission through the intended administration process. Request a fresh listing, preview and download in that same session. Repeat from a second browser session if concurrent sessions are supported.

Then try a sharing link created earlier. If it remains usable until expiry, that must match the requirement and be documented. If immediate blocking is required but the architecture cannot provide it, resolve the design or requirement before acceptance.

State what the result establishes

Check that the customer understands the refusal and has a support route without errors revealing another account's files. Confirm that an operator can trace the test event without placing secret links or document content in broadly accessible logs.

Record environment, date, roles, document version, observation and retest. A passing sample is not a complete security certification. Revoking portal permission does not erase downloaded copies; their handling is a separate issue.

Sources and further reading

Questions, answered

Is testing after logout enough?

No. A user may have an existing session when permission changes. Exercise fresh downloads in that session too.

May I test a portal that belongs to someone else?

Only with explicit authorisation and an agreed scope. This guide assumes controlled test accounts and synthetic documents.

IMBAHUB

Let’s plan your website

Write five allowed or denied test cases before accepting the document workflow.

Talk to us
Existing English product interface with fictional demonstration content; reused for the US website.

Existing English product interface with fictional demonstration content; reused for the US website.