You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web schema merged WebinarCollaborator/ClassCollaborator into a single Collaborator model (collaboratorType WEBINAR|CLASS, webinarPlanId/classPlanId XOR, typed permission booleans replacing the permissions JSON, revenueShareBps replacing revenueSharePercentage). backend/lib/database/repositories/collaborator_repository.dart was minimally rewritten to compile against the new model (read + respond only), and the feature is gated behind FeatureFlags.collaborations (false) with 403 middleware on collaborations/.
Scope
Full repository rework: expose typed permissions (canApprovePayment, canViewAnalytics, canEditEvent, canSeeAttendees) and bps-based revenue share end to end
Frontend entities/screens (lib/features/collaborations/, lib/domain/entities/collaborator/) currently expect revenueSharePercentage — the repo converts bps→percentage at the boundary as a stopgap; decide the long-term contract
Context
The web schema merged
WebinarCollaborator/ClassCollaboratorinto a singleCollaboratormodel (collaboratorTypeWEBINAR|CLASS,webinarPlanId/classPlanIdXOR, typed permission booleans replacing the permissions JSON,revenueShareBpsreplacingrevenueSharePercentage).backend/lib/database/repositories/collaborator_repository.dartwas minimally rewritten to compile against the new model (read + respond only), and the feature is gated behindFeatureFlags.collaborations(false) with 403 middleware oncollaborations/.Scope
canApprovePayment,canViewAnalytics,canEditEvent,canSeeAttendees) and bps-based revenue share end to endlib/features/collaborations/,lib/domain/entities/collaborator/) currently expectrevenueSharePercentage— the repo converts bps→percentage at the boundary as a stopgap; decide the long-term contractFeatureFlags.collaborationsRelated: #58