From: Joshua Rüsweg Date: Tue, 28 Aug 2018 10:40:33 +0000 (+0200) Subject: Add permission to manage own articles X-Git-Tag: 5.2.0_Alpha_1~364^2~64 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a40df44c036bd6201e4e8f9cef5fb878dba4dd4f;p=GitHub%2FWoltLab%2FWCF.git Add permission to manage own articles See #2677 --- diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index 20eb88b0b4..923599072a 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -93,7 +93,7 @@ {/if} - {if $__wcf->getSession()->getPermission('admin.content.article.canManageArticle')}
  • {lang}wcf.acp.article.edit{/lang}
  • {/if} + {if $article->canEdit()}
  • {lang}wcf.acp.article.edit{/lang}
  • {/if} {event name='contentHeaderNavigation'} {/content} diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index 0bdf43c768..010e457f0e 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -441,6 +441,14 @@ 1 module_article +