Skip to content

Serve system projects to translate endpoints - #4408

Open
mathjazz wants to merge 1 commit into
mozilla:mainfrom
mathjazz:4354-tutorial-helpers
Open

Serve system projects to translate endpoints#4408
mathjazz wants to merge 1 commit into
mozilla:mainfrom
mathjazz:4354-tutorial-helpers

Conversation

@mathjazz

Copy link
Copy Markdown
Collaborator

Fix #4354.

The History, Comments, Locales and Sibling strings endpoints looked the entity up in Project.objects.visible(), which is available().filter(system_project=False). The tutorial is a system project, so all four returned 404 for every user, and the panels showed nothing rather than reporting a failure.

What these endpoints need to know is whether the user can reach the project, not whether it is listed on the dashboards. available() still excludes disabled and resource-less projects, and visible_for still hides private ones from non-superusers.

The History, Comments, Locales and Sibling strings endpoints looked the
entity up in `Project.objects.visible()`, which is
`available().filter(system_project=False)`. The tutorial is a system
project, so all four returned 404 for every user, and the panels showed
nothing rather than reporting a failure.

What these endpoints need to know is whether the user can reach the
project, not whether it is listed on the dashboards. `available()` still
excludes disabled and resource-less projects, and `visible_for` still
hides private ones from non-superusers.
@mathjazz
mathjazz requested a review from ayshushus August 13, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tutorial: History, Comments, Locales and sibling strings never load

1 participant