Added missing check of module setting
authorMarcel Werk <burntime@woltlab.com>
Thu, 12 Apr 2018 10:47:47 +0000 (12:47 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 12 Apr 2018 10:47:47 +0000 (12:47 +0200)
com.woltlab.wcf/userGroupOption.xml

index 339d220fae62e87463997cdb89aa0b68e0c09e4e..b44f89f02093b2aedc09644596cafd4abc2b385b 100644 (file)
                                <defaultvalue>0</defaultvalue>
                                <admindefaultvalue>1</admindefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        <option name="admin.content.article.canContributeArticle">
                                <categoryname>admin.content</categoryname>
                                <defaultvalue>0</defaultvalue>
                                <admindefaultvalue>1</admindefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        <option name="admin.content.article.canManageCategory">
                                <categoryname>admin.content</categoryname>
                                <defaultvalue>0</defaultvalue>
                                <admindefaultvalue>1</admindefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        
                        <option name="admin.content.canBulkRevertContentChanges">
@@ -718,17 +721,20 @@ png</defaultvalue>
                                <categoryname>user.article</categoryname>
                                <optiontype>boolean</optiontype>
                                <defaultvalue>1</defaultvalue>
+                               <options>module_article</options>
                        </option>
                        <option name="user.article.canAddComment">
                                <categoryname>user.article</categoryname>
                                <optiontype>boolean</optiontype>
                                <defaultvalue>1</defaultvalue>
+                               <options>module_article</options>
                        </option>
                        <option name="user.article.canEditComment">
                                <categoryname>user.article</categoryname>
                                <optiontype>boolean</optiontype>
                                <defaultvalue>1</defaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        <option name="user.article.canDeleteComment">
                                <categoryname>user.article</categoryname>
@@ -736,6 +742,7 @@ png</defaultvalue>
                                <defaultvalue>0</defaultvalue>
                                <admindefaultvalue>1</admindefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        
                        <option name="mod.general.canUseModeration">
@@ -815,6 +822,7 @@ png</defaultvalue>
                                <defaultvalue>0</defaultvalue>
                                <moddefaultvalue>1</moddefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        <option name="mod.article.canDeleteComment">
                                <categoryname>mod.article</categoryname>
@@ -822,6 +830,7 @@ png</defaultvalue>
                                <defaultvalue>0</defaultvalue>
                                <moddefaultvalue>1</moddefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        <option name="mod.article.canModerateComment">
                                <categoryname>mod.article</categoryname>
@@ -829,6 +838,7 @@ png</defaultvalue>
                                <defaultvalue>0</defaultvalue>
                                <moddefaultvalue>1</moddefaultvalue>
                                <usersonly>1</usersonly>
+                               <options>module_article</options>
                        </option>
                        
                        <!-- user.profileComment -->