{ "date": "2026-11-27", "status": "pending_owner_scope_definition", "purpose": "Define the intended private-content scope of the matrix's integral audit export before extending a permission explicitly limited to metadata.", "existing_authority": { "permission": "audit_metadata_read", "declared_scope": "Company-wide event ID, recorded date, action and user ID; no private payloads", "source": "app/Services/OrganizationAccess.php and docs/auditoria-metadados.md", "implemented": "Filtered full metadata CSV and independently authorised links to native processes. Existing native process/document permissions remain separate." }, "choices": { "native_scope": { "description": "Export all process data and originals that this user can already consult through the native modules, together with authorised audit metadata.", "authority": "Revalidate current identity, company, work context and each native process/document reader; audit_metadata_read alone never authorises a private item.", "contents": "Original/versioned request and approval evidence, applicable frozen rules, native order/receipt/invoice/payment or People records and private originals only where their current native readers permit them. Preserve each module's field-level restrictions and separate work contexts. Never blindly serialise arbitrary AuditLog before/after payloads.", "coverage": "Manifest distinguishes included sources and unavailable/restricted source families without revealing hidden record identities or counts. Unknown historical fields stay unknown; no reconstruction from current rules." }, "dedicated_audit_scope": { "description": "Create a distinct company-configurable audit authority to read/export private content beyond the user's ordinary process access.", "authority": "Requires the owner to define included modules/private data and explicitly designated audit profiles. It is not implied by Admin or the existing metadata permission. No actual grant would be created by development or this choice.", "contents": "Only the private families explicitly defined by the owner; bank identifiers, personnel records and originals must be identified within that definition rather than inferred." }, "metadata_only": { "description": "The required integral export is all authorised event metadata, not a private-content dossier.", "effect": "Retain the demonstrated full filtered metadata export and native process links; remove the unrequested private-export obligation from the existing matrix without relabelling metadata as a private payload export." } }, "common_implementation_requirements": [ "Private downloadable artifact with versioned coverage manifest, collection time and verified hashes for included original bytes; no publication or external transmission", "Original data, approvals, versions and native audit remain unchanged; no payment, stock or financial effects", "Current authorisation checked at generation/download, company/work-context isolation, maintenance and revoked/expired grants refused", "QA validation with synthetic data: allowed/restricted sources, missing or altered originals, all-page completeness, stable evidence, failure/cleanup and no duplicate business effects", "No claim of legal certification, absolute SQL-administrator protection or a new retention period; the existing indefinite preservation decision remains" ], "not_authorised_by_this_definition": [ "Operational grants or role changes, pilot/SGF installation, migration or activation", "Bypassing a native reader, broadening metadata authority silently or exporting real private data", "Automatic disclosure, email, publication, destructive source cleanup or changing the two products' independence" ], "existing_pilot_access_proposal": "audit-access-proposal.json remains a separate unapplied grant proposal; this scope question does not replace or approve it." }