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
Surface both in the userlinks block of website/templates/admin/base_site.html, alongside the existing GitHub link.
The Activity Log link must be wrapped in {% if user.is_superuser %} to match the gate LogEntryAdmin already enforces (has_view_permission / has_module_permission), so Editors and Contributors are never shown a link to a page they can't open.
Note for whoever implements this: website/urls.py sets app_name = "website", so the roster reverses as website:view_project_people. A bare {% url 'view_project_people' %} raises NoReverseMatch — and because base_site.html is the parent of every admin page, that 500s the whole admin rather than breaking one link.
Two internal pages are easy to forget because neither is linked from the main site nav:
/view-project-people/, the project-team roster (view_project_peopleview). Nothing in the site nav points at it.LogEntryin the UI (the index sidebar's "Recent actions" is scoped to your own actions), so the changelist is reachable only by typing the URL.Surface both in the
userlinksblock ofwebsite/templates/admin/base_site.html, alongside the existing GitHub link.The Activity Log link must be wrapped in
{% if user.is_superuser %}to match the gateLogEntryAdminalready enforces (has_view_permission/has_module_permission), so Editors and Contributors are never shown a link to a page they can't open.Note for whoever implements this:
website/urls.pysetsapp_name = "website", so the roster reverses aswebsite:view_project_people. A bare{% url 'view_project_people' %}raisesNoReverseMatch— and becausebase_site.htmlis the parent of every admin page, that 500s the whole admin rather than breaking one link.