39 lines
2.6 KiB
Markdown
39 lines
2.6 KiB
Markdown
# Explicit help visibility correction
|
|
|
|
The authoritative Markdown front matter declares `visibility: public`,
|
|
`administrator` or `internal`. All 409 articles were reviewed: 367 are public and
|
|
42 are administrator-only. The separate Help Authoring Guidelines document is
|
|
internal. The three nonrestricted references to "admin/administration" describe
|
|
ordinary writing work, not administrator functionality.
|
|
|
|
Serving code contains no category/path exclusion list. Public publication selects
|
|
only explicitly public articles. Unknown/missing classifications fail closed.
|
|
Format 2 publications declare both an environment channel and an audience:
|
|
|
|
- `public`: public articles and their referenced assets only.
|
|
- `application`: public plus administrator articles; no internal authoring material.
|
|
|
|
Both projections are generated from the same authoritative source commit. The
|
|
application uses its existing `AdminOnly` rule for all article lookups, categories,
|
|
search, recommendations and diagnostics. Cached source records are filtered for
|
|
each request, preventing a previous administrator request from leaking to others.
|
|
The website never authorizes administrator content, regardless of app cookies.
|
|
Its consumer rejects application/legacy/unclassified artifacts, and its reader
|
|
independently enforces public audience and visibility. Navigation, search, related
|
|
links, JSON-LD and sitemap use that same filtered content. Legacy/direct restricted
|
|
URLs return 404; no redirects to public copies are created.
|
|
|
|
The 42 articles and their sole category are intentionally withdrawn from the
|
|
public URL contract. The corrected website has 406 indexed URLs and 484 main
|
|
public routes. `Tests/restricted-help-routes.json` is generated audit/test evidence,
|
|
not a runtime exclusion list.
|
|
|
|
Publish using the application's Tools/PublicContent command and an approval with
|
|
`audience: public` or `application`. Select matching `--audience` when consuming;
|
|
website defaults to public, while the application requires `--audience application`.
|
|
The Production channel still requires explicit Production-compatible approval.
|
|
Do not roll back to legacy unclassified publications or pre-correction application
|
|
code: these are not safe public-help rollback targets.
|
|
|
|
Application-audience stores use root ownership, runtime-group-only directories/files (0750/0640). The consumer defaults to runtime group plotdirector; --runtime-group allows an explicit alternative. The website runtime cannot read the application store. Media inherits its referencing article visibility, with immutable publication roots retained for safe concurrent publication.
|