When a dealer leaves but their saved portal links still work
The person leaving may have downloaded documents, bookmarked a price list and forwarded links to colleagues. Decide what should happen to each route when access changes.
Test a forwarded attachment link before launching a portal
A dealer opens a quotation attachment and forwards its link to a colleague. That link may also reach someone outside the approved organisation. If the application checks access only when displaying the portal page, the file itself can bypass the intended boundary. Review document delivery as a separate request with its own identity, permission and lifecycle decisions before the portal is launched.
Classify the documents first. A public product brochure has a different audience from an account-specific quotation or a document containing personal information. Record who may retrieve each type and whether a recipient needs an authenticated account. Avoid treating every file as public merely because the underlying storage service makes a shareable URL easy to create and include in a message.
Apply permission checks where the file is retrieved, not just where its link is generated. OWASP's authorization guidance specifically covers resources and checks on requests. Where temporary links are appropriate, establish their scope and expiry deliberately. Explain what happens when a link expires so legitimate users can recover access without a staff member sending an unrestricted replacement copy.
Test a realistic set of recipients. Open the same link as the authorised account, another customer, a signed-out visitor and an account whose access has been removed. Try a previously downloaded filename and a copied preview URL as well. Use synthetic documents and private testing fixtures; a security check should not spread a real confidential quotation into additional browsers and email conversations.
Consider caches and operational copies. A document may be available through a preview service, an export package or a support attachment after the primary route is corrected. Identify those copies and decide how their access follows the original policy. Deleting a visible portal link does not necessarily revoke a file that was already shared through another independently accessible channel or provider.
Plan what happens when a dealer contact leaves
A dealer employee leaves while several quotation requests are still open. Their account contains useful correspondence, but keeping the login active gives a former employee continuing access. Deleting everything can remove the context a replacement needs. Treat the person's access and the organisation's business records as related concerns that require distinct, deliberate decisions during account offboarding and reassignment.
Identify who is authorised to report a departure and approve the replacement contact. An unexpected email asking to transfer an account should not be enough on its own. Decide how the team verifies the request and which existing relationship provides a safe contact path. The process should remain understandable when the usual account manager is absent or on leave.
Revoke access across the relevant surfaces. The web session, API tokens, shared document links and connected applications may have separate lifetimes. OWASP's authorization guidance is useful when reviewing checks on requests and resources. Inventory those surfaces before promising that disabling one visible account button has removed every route to private records and downloadable material.
Keep historical authorship accurate. Reassigning responsibility for an open request should not rewrite who originally submitted or approved it. Display a replacement owner for future decisions while preserving the earlier record under the agreed policy. Review what information remains necessary, who can read it and how it should eventually be removed with the appropriate data and business reviewers.
Test an account departure in a private environment using artificial records. Keep an old browser session open, copy an attachment link and attempt an action after access is revoked. Confirm the replacement contact can see only the appropriate organisational records. Avoid using a real person's account as a casual test or changing access without the authorised administrator's involvement.
Separate dealer price visibility from catalogue browsing
A public catalogue may describe the same product that a dealer orders through a private account. That does not mean the same price, availability or downloadable document belongs on both screens. Start by drawing the boundary between product information available to everyone and commercial information available only to a particular organisation, account role or approved trading relationship.
Write a small permission table using actual business roles. A dealer purchaser might request a quotation but not change billing details. A finance contact may need invoices without access to internal margin notes. A staff account may manage several dealers. Treat these as separate decisions, and identify who can approve an account or remove an obsolete relationship.
Apply the boundary on the server, including searches, exports, attachments and API responses. Hiding a column in the interface does not protect the underlying value. Test a copied document link in another account and while signed out. Review cached responses too, because an otherwise correct page can disclose one organisation's prices if a shared cache ignores account context.
Show a clear state when a price is unavailable. The next step might be requesting a quotation, contacting the assigned team or waiting for account approval. Avoid displaying a misleading zero or a default retail figure without explanation. If a customer changes organisation, confirm that the visible catalogue and pricing context update together before allowing a new request.
Keep account administration manageable. Record who approved access and provide a way to review accounts that no longer have an active business purpose. Consider what happens when an employee leaves a dealer, a company changes name or two branches need different purchasing permissions. Personal data decisions should be reviewed against the applicable requirements rather than copied from another portal.
Assign an owner to old request records
An enquiry that was useful during a project discussion can remain in several systems long after the conversation ends. The website, email account and CRM may each keep a copy, while exports create others. Before choosing a retention setting, identify why the record is still needed, who owns that decision and which legal or contractual questions require qualified advice for the actual operation.
Map the record's destinations using one representative request. Include attachments, staff notes, diagnostic logs and backups where relevant. Distinguish an active business record from a temporary technical copy. The point is to understand the process, not to publish a detailed systems inventory to visitors or assume that every copy must have the same access rules and operational lifetime.
Prepare questions for the appropriate reviewer. What purpose remains after the enquiry is closed? Which information is necessary for that purpose? Who may authorise deletion or a longer hold? The KVKK authority's guidelines and law are primary sources for framing personal data questions in Türkiye. They do not remove the need to assess the organisation's specific responsibilities and circumstances.
Translate the approved decision into an operational routine. A date field alone does not ensure that someone reviews expired records or handles exceptions. Name the responsible role, the review frequency and what evidence confirms completion. If deletion in one application leaves a linked attachment elsewhere, make that relationship explicit rather than reporting the record removed on the basis of one successful screen action.
Further reading: OWASP authorization guidance, KVKK guidelines, Personal Data Protection Law.
