Skip to content

Published public hidden brews

ericscheid edited this page Feb 7, 2024 · 6 revisions

This document holds information previously held by the folders document in this wiki.

We might be able to do something like having a special meta-tag which basically says "Author Eyes Only". If the user is not one of the listed authors the brew does not appear in any list, and requests return the error code 403 - Forbidden. Actually, this would be useful even if folders were not a thing (currently all brews are publicly accessible, with some marked as "will appear in lists as published". This tag will work to mark the brew as "definitely don't reveal to anyone else".

Published, Public, Hidden

Currently the "is-published" status is stored as "published":true/false , but for this feature it could hold three possible values:

  • published: It can be seen in the userPage, and Archive/brewExplorer, sharePage IS accessible.
  • unpublished: It cannot be seen in userPage or Archive page, sharepage IS accessible.
  • hidden: It cannot be seen in userPage or Archive page, sharepage IS NOT accessible.

That way a creator can stash GM-eyes-only docs in e.g. /user/erics/friday-game folder.

Behind the scenes the 3 values could be published, public, and hidden. (Or True, False, Null to be backwards compatible yet maddeningly obscurantist).

Clone this wiki locally