Simplifies the namespace hierarchy by removing the intermediate Mod segment. Updates all 118 files including models, services, controllers, middleware, tests, and composer.json autoload configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 KiB
1 KiB
Core-Tenant - January 2026
Features Implemented
Workspace as Universal Tenant (TASK-003)
Consolidated tenancy model with workspace as the primary organisational unit.
Changes:
- All workspace_id columns now nullable for system-level entities
- Workspace invitations system
- User tier system (free, pro, hades)
- Namespace system for sub-workspace scoping
Models:
Workspace- enhanced with invitation supportWorkspaceInvitation- new model with notificationNamespace- sub-workspace resource groupingUser- tier management
Files:
Models/Workspace.phpModels/WorkspaceInvitation.phpModels/Namespace.phpNotifications/WorkspaceInvitationNotification.php
Web Routes
Created Routes/web.php with:
- Account deletion flow
- Workspace management routes
- Invitation acceptance
Two-Factor Authentication
User 2FA support with TOTP.
Files:
Models/UserTwoFactorAuth.php- Migration for 2FA table
Soft Deletes
Added soft delete support to User model for GDPR compliance.