VERIFIED GOVERNANCE, ACCESS CONTROL & AUDIT ARCHITECTURE

Defense-in-Depth for Your SAP Business One Landscape.

Exposing enterprise workflows to browsers and mobile devices requires strict architectural safeguards. Every control listed on this page is verified directly in the Synapse Portal and Synapse Mobile Hub codebases.

01 // SESSION ISOLATION & IDENTITY

Dual Portal & SAP Service Layer Session Management

SapSessionManager.cs manages isolated SAP Business One Service Layer sessions (`B1SESSION` / `ROUTEID`) and pairs them with portal identity tokens (`CustomAuthenticationStateProvider.cs`). Users never handle raw database connection strings or direct ERP admin credentials.

Verified in SapSessionManager.cs
02 // ROLE-BASED ACCESS & DATA OWNERSHIP (DOM)

Granular RBAC + Hierarchical DOM Scopes

PermissionManagementService.cs and RoleSecurity.razor enforce module, route, and action permissions alongside Data Ownership Management (DOM) (`WEB_USER_DOMCollection`), scoping records by Branch, Department, and Subordinate Hierarchy.

Verified in RoleSecurity.razor
03 // FIELD-LEVEL UI MASKING POLICIES

Dynamic Sensitive Field Redaction

Through UI-Policies.razor (`/administration/ui-policies`), administrators define field-level masking rules that dynamically hide sensitive financial attributes—such as Item Unit Cost, Gross Profit Margin, or Vendor Balances—for non-authorized roles.

Configurable in UI-Policies.razor
04 // PRE-POSTING QUARANTINE & STAGING

Zero Unapproved ERP Master or Ledger Pollution

Field-captured customers (`@WEB_CUST_QUARANTINE`), requisition drafts (`@WEB_APP_RQ`), and suspense clearances (`@WEB_SUSPENSE`) are held in dedicated staging tables until all required workflow stages and pre-flight validations succeed.

Verified in Quarantine & Workflow Services
05 // IMMUTABLE WORKFLOW AUDIT LOGS & SIGNATURES

Append-Only Decision Trail & SHA-256 Vector Signatures

Every approval, rejection, return-for-revision, WhatsApp magic-link action (`/quick-action/{Token}`), and handwritten signature (`TreasuryPadScreen`, `StandaloneSignatureScreen`) is recorded in `WEB_APP_LOGCollection` with actor ID, timestamp, comment, and signature hash.

Verified in WorkflowEngineService.cs
06 // CONCURRENCY LOCKING & READ-ONLY SQL GUARD

Document Edit Locks & Sovereign Query Protection

SystemLockService.cs prevents two operators or cashiers from disbursing or modifying the same voucher simultaneously. In Sovereign HANA Reports (`SapHanaService.cs`), a strict SQL guard enforces read-only `SELECT` execution.

Verified in SystemLockService & SapHanaService
07 // OFFLINE MOBILE CREDENTIAL & QUEUE PROTECTION

SHA-256 Credential Verification & Deterministic Sync

In the Flutter Mobile Hub (`smart_erp`), `auth_viewmodel.dart` stores only SHA-256 credential hashes for offline re-authentication, and `SyncEngine` transmits queued offline actions over authenticated Bearer-token REST gateways.

Verified in smart_erp Mobile Source
08 // PHYSICAL ARCHIVE TRACEABILITY

QR-Indexed Paper & Digital Document Custody

PhysicalArchiveService.cs (`/archive/command-center`) links digital SAP transactions to physical paper binders across a 5-level QR location hierarchy (`Room → Cabinet → Shelf → Box → File`) for internal and external audit readiness.

Verified in PhysicalArchiveService.cs
Security & Governance Review

Walk Through Our Security Controls With Your IT & Audit Teams

Schedule a live technical review of Role Security, Data Ownership Management (DOM), UI Masking Policies, and SAP Service Layer session isolation.

Return to Platform Architecture