mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
closes #4344
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
if (properties) {
|
||||
if ((properties.loggedIn && !data.config.loggedIn) ||
|
||||
(properties.globalMod && !data.isGlobalMod && !data.isAdmin) ||
|
||||
(properties.adminOnly && !data.isAdmin) ||
|
||||
(properties.installed && properties.installed.search && !data.searchEnabled)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user