0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00

Updated Published public hidden brews (markdown)

Víctor Losada Hernández
2024-02-06 23:54:22 +01:00
parent efd3d49623
commit 2da5e050f0

@@ -1,10 +1,14 @@
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 not one of the listed authors the brew does not appear in any list, and requests return either 404, 503, or whatever. 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".
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` .. it could be three possible values, meaning `published`, `whatever-false-means-now-as-default`, and `hidden-and-by-that-i-mean-share-link-fails`.
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.