mirror of https://gitlab.com/bashrc2/epicyon
Comments
parent
292fa6fd8f
commit
77e7eff437
|
|
@ -327,6 +327,10 @@ def _getEditIconHtml(baseDir: str, nickname: str, domainFull: str,
|
||||||
"""
|
"""
|
||||||
editStr = ''
|
editStr = ''
|
||||||
actor = postJsonObject['actor']
|
actor = postJsonObject['actor']
|
||||||
|
# This should either be a post which you created,
|
||||||
|
# or it could be generated from the newswire (see
|
||||||
|
# _addBlogsToNewswire) in which case anyone with
|
||||||
|
# editor status should be able to alter it
|
||||||
if (actor.endswith('/' + domainFull + '/users/' + nickname) or
|
if (actor.endswith('/' + domainFull + '/users/' + nickname) or
|
||||||
(isEditor(baseDir, nickname) and
|
(isEditor(baseDir, nickname) and
|
||||||
actor.endswith('/' + domainFull + '/users/news'))):
|
actor.endswith('/' + domainFull + '/users/news'))):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue