diff --git a/lib/default_master.tpl b/lib/default_master.tpl index 1297e40..fa091d3 100644 --- a/lib/default_master.tpl +++ b/lib/default_master.tpl @@ -26,8 +26,7 @@ gensidebar %} -% # TODO: probably should check if we have the right perms -% if (! ~ $#wiki 0 && test -f $body.md && get_user && ! ~ $#logged_user 0) { +% if (! ~ $#wiki 0 && test -f $body.md && check_user $wiki_editors_group) {