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
{{ message }}
Repository navigation
Replace sales materials with new versions and limit assistants to approved ones #53
area: storageSales materials and private file storagearea: uiWorkspace views, dialogs, inspector and command menuhelp wantedWe would like a hand with this
Approving and archiving materials works: set_material_status (packages/core/materials.ts) with UI in src/components/materials.tsx and tests in tests/material-library.test.ts. What is left:
Versions. There is no way to replace a material with a new file while keeping earlier versions downloadable; uploadAsset always inserts a new row. Note that assets.version is the optimistic-concurrency counter, not a content version, so this needs its own field or table.
Assistant restriction.read_material and list_materials return drafts and archived materials too. An organization should be able to limit assistants to approved materials.
Done when
A replace-version business operation keeps earlier versions downloadable and records the change.
Assistants can be restricted to approved materials, enforced in the operation layer.
Tests cover permissions, the restriction, and that replacing a version does not change what an already-approved draft referenced.
changed the title [-]Approve, archive and replace versions of sales materials[/-][+]Replace sales materials with new versions and limit assistants to approved ones[/+]on Oct 6, 2026
area: storageSales materials and private file storagearea: uiWorkspace views, dialogs, inspector and command menuhelp wantedWe would like a hand with this
Activity
[-]Approve, archive and replace versions of sales materials[/-][+]Replace sales materials with new versions and limit assistants to approved ones[/+]