Keep private repositories out of the shared published-advisory index

Advisories are indexed only for public repositories, a visibility change drops or re-adds a repository's rows, and counts are re-checked against the directory at read time so rows indexed before a repository went private, hidden or taken down never count.

Assisted-by: Crush
taigrrcommitted parent e1e789aadddc31545033416bca8b656a84cf77fc818ff6bBrowse files
5 files changed+99−13

Rendering diff…