Loading issues
Tracking epic for the security tranche that must land before the cloud API is exposed to untrusted tenants. From the 2026-06-15 backend+frontend audit, three things are broken/missing and one capability (configurable RBAC) is being expanded per product direction.
tesks_delete_task)security/ActorContext.java, api/ApiAuthFilter.java explicitly delegate policy to the UI; roles stored in tenant_member.role (V2__workspaces_and_membership.sql) as owner|member|viewer but never checked.tenant_id predicate — PostgresTaskSystem.java ~lines 285 (taskById), 307 (getTaskDetail), 336 (listComments), 345 (listActivity), 425/467 (updateTask), 540 (deleteTask), label writes 472-477. Contrast reorderTask/moveTask which correctly scope by tenant.TenantBearerFilter, McpAuthFilter, TenantContext) — enforcement can hook there + per-service.lib/roles.ts fixed owner|member|viewer; delete gated by requireWorkspaceWrite (should be manage); no last-owner guard (lib/actions/members.ts).
Epic complete — all children Done and verified live on develop: PAR-183 (IDOR, scoped + regression tests), PAR-184 (configurable role model), PAR-185 (server-side enforcement), PAR-186 (MCP enforcement, working end-to-end), PAR-187 (UI alignment), PAR-188 (hard-delete removed/guarded). Closing.