3 new global privileges
view:users
view:tags
view:groups
This commit is contained in:
Barış Soner Uşaklı
2019-02-05 12:08:18 -05:00
parent ae779ea4f9
commit c72da5595a
22 changed files with 160 additions and 88 deletions

View File

@@ -196,8 +196,6 @@ module.exports = function (middleware) {
templateValues.defaultLang = meta.config.defaultLang || 'en-GB';
templateValues.userLang = res.locals.config.userLang;
templateValues.languageDirection = results.languageDirection;
templateValues.privateUserInfo = meta.config.privateUserInfo;
templateValues.privateTagListing = meta.config.privateTagListing;
templateValues.template = { name: res.locals.template };
templateValues.template[res.locals.template] = true;