ixg_platform/apps/guides
ixgadmin ee4f7b5232 Help centre: portal-scoped guide audiences, and links that resolve
Guide visibility is now scoped by PORTAL first and role second:

- the buyer portal lists shared and buyer guides, even for an admin, because it
  is the buyer portal; admin guides never surface there
- the ops portal lists shared and ops guides, plus admin guides for an
  admin/superuser
- the detail view names its context object, so guide pages get a real browser
  title instead of a blank one

Link rewriting, so one page can serve both the wiki and the in-app help centre:

- absolute /en/user-guides/... links become the in-app help path
- other absolute /en/... links point at the wiki itself; the app hosts serve no
  /en/ routes, so leaving them untouched was a 404 for whoever clicked
- relative links keep their existing behaviour

Tests cover the new rewriting and the portal scoping rules. Also adds
docs/USER_GUIDES_VIEWER_SPEC.md, the spec this viewer was built to.
2026-09-16 16:39:07 +00:00
..
management Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
migrations Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
__init__.py Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
admin.py Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
apps.py Add User Guides Viewer (Help Centre) - role-gated wiki help pages 2026-08-07 14:19:49 +00:00
markdown.py Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00
models.py Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00
tests.py Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00
views.py Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00