title: Visibility rules for zettel
role: manual
tags: #authorization #configuration #manual #security #zettelstore
syntax: zmk
back: 00001006020000 00001010000000 00001010070300 00001012051200 00001012921200 00001017000000
backward: 00001004020000 00001006020000 00001010000000 00001010070300 00001012051200 00001012921200 00001017000000
box-number: 1
copyright: (c) 2020-present by Detlef Stern <ds@zettelstore.de>
created: 20210126175322
forward: 00000000000004 00000000020001 00000000040001 00001004010000 00001004020000 00001006030500 00001007700000 00001010040100 00001014000000
lang: en
license: EUPL-1.2-or-later
modified: 20251218191106
published: 20251218191106
visibility: public

For every zettel you can specify under which condition the zettel is visible to others.
This is controlled with the metadata key [`visibility`](00001006020000#visibility).
The following values are supported:



When you install a Zettelstore, only some zettel have visibility &ldquo;public&rdquo;.
One is the zettel that contains [CSS](00000000020001) for displaying the [web user interface](00001014000000).
This is to ensure that the web interface looks nice even for not authenticated users.
Another is the zettel containing the Zettelstore [license](00000000000004).
The [default image](00000000040001), used if an image reference is invalid, is also publicly visible.

Please note: if [authentication is not enabled](00001010040100), every user has the same rights as the owner of a Zettelstore.
This is also true, if the Zettelstore runs additionally in [read-only mode](00001004010000#read-only-mode).
In this case, the [runtime configuration zettel](00001004020000) is shown (its visibility is &ldquo;owner&rdquo;).
The [startup configuration](00001004010000) is not shown, because the associated computed zettel with identifier `00000000000096` is stored with the visibility &ldquo;expert&rdquo;.
If you want to show such a zettel, you must set `expert-mode` to true.

# Examples

By using a [query expression](00001007700000), you can easily create a zettel list based on the `visibility` metadata key:

