Closed alxjsn closed 7 years ago
This sounds good, but it looks like your indent size got messed up and is only 3 spaces. I like the idea of hiding inappropriate navbar items too, which would probably solve #163 as well.
Oops, spacing should be fixed now.
Thanks!
Added check for PRIVATE_WIKI in search function. Without this there would be information disclosure of content that is being stored on the site.
It may be a good idea to also remove all the functions from the navbar which are not available to an unauthenticated user when the wiki is running in private mode.