oxidecomputer / oxidecomputer/console
Project viewer may not be able to list projects for project switcher
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
On project pages, we have a project switcher in the corner that relies on fetching the list of projects. But in our current permissions model, you can see a project and its child resources without being able to list projects on the org (which requires view permissions on the org).
We had a hard time debugging this because of #1040 — we got a full-page 404 and had to go into the network tab to tell it was specifically the projects list call that was 404ing.
Not sure what to do about this yet besides fixing #1040 — it depends on the outcome of #1326 and whether we add more structure to the relationship between org and project roles.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start on a project page and inspect the project switcher's projects-list request, especially the full-page 404 described in #1040. Read #1040 and #1326 to understand the permission-model decision before proposing a direction. Done requires an agreed behavior for users who can view a project but cannot list projects at the organization level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization, frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100