Skip to content

Logic: Consolidated Multi-Entity Workspace Integration #629

@SatyamPandey-07

Description

@SatyamPandey-07

Objective: Transform isolated workspaces into a hierarchical "Group/Entity" structure where transactions and rules can be inherited or cross-linked.

Files Involved (~8):
models/Workspace.js
: Major schema rewrite for parent/child mapping.
routes/workspaces.js
: Implementation of cross-workspace data retrieval.
services/workspaceService.js
: Heavy modification of authorization and resource sharing logic.
middleware/auth.js
: Update to handle hierarchical "Collaborator" roles across entities.
services/revaluationService.js
: Refactor to support "Consolidated Currency Exposure" reports.
routes/rules.js
: Logic to permit workspace-level overrides for global rules.
services/consolidationService.js: (New) Complex logic for merging financial data across entities.
models/PermissionSet.js: (New) Granular access control for collaborative entities.
Code Volume: Very High. Juggling the auth and service layer to support nested data structures is a massive task.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions