diff --git a/daemon.py b/daemon.py index f72146a5a..63c717ef2 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 dfd47ad0b..e053517a6 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 += \ '