Lock
This article is intended for wiki administrators.
Sometimes, you may want to let only authorized users to view your wiki. This is when lock comes in handy.
Enabling
Tick Require signing in to see anything at /admin/settings, or set it in config.json:
{
"UseAuth": true,
"Locked": true
}
UseAuth must also be true: the lock only applies to a wiki that has the user
system on. A saved change takes effect at once, with no restart.
Usage
When unauthorized people visit your wiki, they will see something like this:
If they log in, they will be able to navigate the wiki. They are not able to register, though: an administrator has to make them an account.
Readers
You might want to add some users to the reader group. Readers can log in even to locked wikis, but they cannot edit.