Phase 175FAEDA-ROLE-QA-EVIDENCE-CAPTURE-001permission design gate

Evidence Storage Permission Design Gate

A design gate that defines who may upload, view, redact, retain, approve, export, or delete QA evidence before FAEDA builds real evidence storage.

Evidence candidates

21

from Phase 174 QA desk

Permission actions

8

upload, view, redact, approve, retain

Storage lanes

5

visual, notes, boundary, mobile, decision

Runtime storage

0

design only

Storage lanes

What evidence storage would contain later

Visual screenshot lane

medium

Screenshots or capture references showing layout, mobile fit, overlapping text, clipped actions, or route rendering.

pngjpgwebpfuture signed capture

No CNIC, wallet PIN, bank info, private customer data, provider secrets, or real credentials.

Reviewer note lane

medium

Human QA notes explaining pass/fail/correction status and what a developer must inspect next.

plain textmarkdown-safe textfuture structured note

No personal attacks, unverified legal claims, private financial data, or raw backend errors.

Boundary proof lane

high

Evidence that a route does not overclaim auth, payment, settlement, ledger, inventory, order, PO, GRN, invoice, or founder authority.

checklistscreenshot referencereview note

No production payment screenshots, bank statements, live keys, or customer-private ledger exports.

Mobile proof lane

medium

Mobile-width evidence for tap quality, readable text, visible actions, and no horizontal overflow.

mobile screenshotresponsive notefuture device capture

No device personal notification content, browser passwords, or private app state.

Review decision lane

high

Final manual decision: pass, needs correction, accepted preview-only, blocked, or recheck after fix.

structured decisionreview note

No silent approval, no retroactive pass without evidence, no unassigned reviewer decision.

Permission actions

Who can do what?

Upload evidence

QA reviewer

Allowed for

Founder/AdminQA ReviewerApproved FAEDA Team

Requires

route scopeevidence typeprivacy checkno secret content

Blocked for

CustomerRiderRetailerSupplier public user

View evidence

Role-scoped reviewer

Allowed for

Founder/AdminQA ReviewerSecurity ReviewerAssigned Developer

Requires

need-to-knowrole scopeaudit trail

Blocked for

Public usersUnassigned role usersExternal vendors

Redact evidence

Security reviewer

Allowed for

Founder/AdminSecurity ReviewerData Protection Reviewer

Requires

redaction reasonoriginal retained securelyaudit trail

Blocked for

General QADevelopers without security approvalRole users

Approve evidence

Maker-checker reviewer

Allowed for

Founder/AdminQA LeadSecurity Reviewer

Requires

evidence packet completereview notedecision state

Blocked for

Single unreviewed makerPublic usersRoute owner self-approval

Retain evidence

Governance

Allowed for

Founder/AdminCompliance Reviewer

Requires

retention periodprivacy classificationdeletion review date

Blocked for

Unlimited retention by defaultUnclassified private evidence

Export evidence

Founder/Admin

Allowed for

Founder/AdminCompliance Reviewer

Requires

export reasonrecipientredaction checkaudit trail

Blocked for

Generic downloadsRole usersUnredacted customer data export

Delete evidence

Data protection

Allowed for

Founder/AdminData Protection Reviewer

Requires

retention ruledeletion reasonchecker approval

Blocked for

Silent deletionroute owner deletiondelete without audit

Restore evidence

Security reviewer

Allowed for

Founder/AdminSecurity Reviewer

Requires

incident reasonbackup sourcechecker approval

Blocked for

Anyone without incident approvalunlogged restore

Role permission matrix

Role authority before evidence storage exists

Supplier

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own role-safe public evidence later

Approve

no

Redact

no

Export

no

Manufacturer

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own role-safe public evidence later

Approve

no

Redact

no

Export

no

Wholesaler

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own role-safe public evidence later

Approve

no

Redact

no

Export

no

Retailer

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own role-safe public evidence later

Approve

no

Redact

no

Export

no

Customer

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own customer-safe support evidence later

Approve

no

Redact

no

Export

no

Rider

Business roles should not receive raw QA evidence authority until backend RBAC and privacy scope exist.

Upload

no

View

own role-safe public evidence later

Approve

no

Redact

no

Export

no

Founder

Founder/Admin can govern evidence but still needs maker-checker and audit trails.

Upload

yes

View

all assigned evidence

Approve

maker-checker only

Redact

with security reviewer

Export

redacted only

Privacy classes

How evidence must be classified

Public-safe

generic UI screenshotpublic route labelnon-sensitive copy issue

Can be used in demos after review.

Internal

review notesroute statuscorrection decisiondeveloper note

Visible only to assigned QA, founder/admin, and approved developers.

Restricted

payment boundary proofcustomer privacy prooffounder/admin governance screenshots

Requires security/data reviewer approval and redaction before sharing.

Forbidden

CNICwallet PINbank detaillive tokenprovider secretreal password

Must not be uploaded. If discovered, redact/incident flow must be triggered.

Governance workflow

How evidence storage must work later

01

Classify evidence

Mark evidence as public-safe, internal, restricted, or forbidden before upload is ever allowed.

No unclassified evidence enters storage.

02

Check permission

Confirm the user has route scope, role scope, and evidence action permission.

Upload/view/redact/approve/export/delete actions are not UI-only.

03

Apply redaction rule

Restricted evidence must be redacted or locked before broader review.

Sensitive data is protected before sharing.

04

Maker-checker review

Approvals, exports, deletion, restoration, and restricted evidence decisions require checker review.

No silent evidence approval or deletion.

05

Retention and audit

Set retention duration, deletion review date, and audit trail before evidence is considered governed.

Evidence storage stays privacy-aware and reviewable.

Hard rules

Permission design is not storage

1

Phase 175 is a permission design gate only.

2

Do not build storage buckets, upload APIs, download APIs, database tables, file writers, queues, workers, or evidence mutations here.

3

No real screenshots, CNIC, wallet, bank, customer private data, supplier secrets, provider keys, or production credentials may be stored in this phase.

4

UI visibility must never replace backend RBAC, storage ACLs, audit logs, retention rules, and maker-checker approval.

5

Next gate can design the evidence data contract only after these permissions are accepted.

Permission packet

JSON preview

{
  "permissionGateId": "evidence_storage_permission_design_gate_175",
  "phase": "Phase 175",
  "sourceGate": "FAEDA-ROLE-QA-EVIDENCE-CAPTURE-001",
  "route": "/business-pro/evidence-storage-permission-design-gate",
  "evidenceDesk": "role_qa_evidence_capture_desk_174",
  "designOnly": true,
  "createsStorage": false,
  "createsUploadApi": false,
  "createsDatabase": false,
  "createsFiles": false,
  "permissionActions": [
    "Upload evidence",
    "View evidence",
    "Redact evidence",
    "Approve evidence",
    "Retain evidence",
    "Export evidence",
    "Delete evidence",
    "Restore evidence"
  ],
  "storageLanes": [
    "visual-screenshot",
    "review-note",
    "boundary-proof",
    "mobile-proof",
    "review-decision"
  ],
  "privacyClasses": [
    "Public-safe",
    "Internal",
    "Restricted",
    "Forbidden"
  ],
  "evidenceCandidateCount": 21,
  "nextAllowedGate": "phase_176_evidence_data_contract_design"
}

Next build gate

Phase 176 is evidence data contract design

After permission rules are clear, the next safe move is a schema/API contract design for evidence metadata without implementation.

Open data contract