diff --git a/daemon.py b/daemon.py index f72146a5..63c717ef 100644 --- a/daemon.py +++ b/daemon.py @@ -2727,10 +2727,10 @@ class PubServer(BaseHTTPRequestHandler): # get the nickname nickname = getNicknameFromActor(actorStr) - moderator = None + editor = None if nickname: - moderator = isModerator(baseDir, nickname) - if not nickname or not moderator: + editor = isEditor(baseDir, nickname) + if not nickname or not editor: if callingDomain.endswith('.onion') and \ onionDomain: actorStr = \ diff --git a/webinterface.py b/webinterface.py index dfd47ad0..e053517a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1224,7 +1224,7 @@ def htmlEditLinks(translate: {}, baseDir: str, path: str, return '' # is the user a moderator? - if not isModerator(baseDir, nickname): + if not isEditor(baseDir, nickname): return '' cssFilename = baseDir + '/epicyon-links.css' @@ -1399,8 +1399,8 @@ def htmlEditNewsPost(translate: {}, baseDir: str, path: str, editNewsPostForm += \ '
\n' editNewsPostForm += \ - ' \n' + ' ' + \ + '\n' editNewsPostForm += \ ' \n'