From 5ae90fa934a8e68ece182a9b786b15c448c62527 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 9 Sep 2016 12:01:22 +0200 Subject: [PATCH] Added contributor role for articles --- com.woltlab.wcf/acpMenu.xml | 4 +- com.woltlab.wcf/userGroupOption.xml | 7 ++ .../files/acp/templates/articleAdd.tpl | 80 ++++++++++--------- .../lib/acp/form/ArticleAddForm.class.php | 15 +++- .../lib/acp/form/ArticleEditForm.class.php | 7 ++ .../lib/acp/page/ArticleListPage.class.php | 8 +- .../files/lib/data/article/Article.class.php | 6 ++ wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 9 files changed, 86 insertions(+), 43 deletions(-) diff --git a/com.woltlab.wcf/acpMenu.xml b/com.woltlab.wcf/acpMenu.xml index 1dee560d6c..a951c64058 100644 --- a/com.woltlab.wcf/acpMenu.xml +++ b/com.woltlab.wcf/acpMenu.xml @@ -335,12 +335,12 @@ wcf\acp\page\ArticleListPage wcf.acp.menu.link.article - admin.content.article.canManageArticle + admin.content.article.canManageArticle,admin.content.article.canContributeArticle wcf\acp\form\ArticleAddForm wcf.acp.menu.link.article.list - admin.content.article.canManageArticle + admin.content.article.canManageArticle,admin.content.article.canContributeArticle fa-plus diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index f17999967f..7c3ed150dd 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -382,6 +382,13 @@ 1 1 +