Scoped sidebar — only show projects user has permission for #100
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-app#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Depends on API permission filtering (pal-e-api issue).
Repo
forgejo_admin/pal-e-productionUser Story
As a stakeholder
I want to see only the projects and boards assigned to me in the sidebar
So that I'm not overwhelmed
Context
The pal-e-app sidebar currently shows all projects from the API. Once the API filters by UserProjectPermission, the sidebar will naturally show only permitted projects. However, the frontend may need adjustments to handle the reduced project list gracefully and ensure navigation works for scoped users.
File Targets
Files to modify:
src/routes/+layout.svelte— sidebar project list (already filters by API response)src/lib/api-client.ts— ensure Bearer token is sent on all project/board requestsFiles NOT to touch:
Acceptance Criteria
Test Expectations
npm run test:e2eConstraints
Checklist
Related
project-pal-e-apparch-dataflow-pal-e-app