<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 02:02:10 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLFORUM-254] Only forum-forumName-user role is created when creating new forum</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLFORUM-254</link>
                <project id="10130" key="MGNLFORUM">Forum (closed)</project>
                    <description></description>
                <environment></environment>
        <key id="37051">MGNLFORUM-254</key>
            <summary>Only forum-forumName-user role is created when creating new forum</summary>
                <type id="5" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10896&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="37045">MGNLFORUM-250</parent>
                                    <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="rkovarik">Roman Kova&#345;&#237;k</assignee>
                                    <reporter username="cmeier">Christoph Meier</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Mar 2014 18:17:28 +0100</created>
                <updated>Wed, 12 Mar 2014 19:05:27 +0100</updated>
                            <resolved>Wed, 12 Mar 2014 08:41:50 +0100</resolved>
                                                    <fixVersion>3.3</fixVersion>
                                    <component>security</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="80842" author="rkovarik" created="Thu, 6 Mar 2014 14:44:40 +0100"  >&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; createRolesForNewForumsPropertyValue = PropertyUtil.getString(installContext.getJCRSession(RepositoryConstants.CONFIG).getNode(&lt;span class=&quot;code-quote&quot;&gt;&quot;/modules/forum/config&quot;&lt;/span&gt;), &lt;span class=&quot;code-quote&quot;&gt;&quot;createRolesForNewForums&quot;&lt;/span&gt;); 
assertEquals(&lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;&quot;&lt;/span&gt;, createRolesForNewForumsPropertyValue);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;You can use:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;// THEN
&lt;/span&gt;        assertFalse(configSession.getProperty(&lt;span class=&quot;code-quote&quot;&gt;&quot;/modules/forum/config/createRolesForNewForums&quot;&lt;/span&gt;).getBoolean());
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Otherwise looks OK.&lt;/p&gt;</comment>
                            <comment id="81028" author="cmeier" created="Tue, 11 Mar 2014 14:51:06 +0100"  >&lt;p&gt;The commit onto master was done against the parent ticket &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLFORUM-250&quot; title=&quot;Remove not supported moderation-permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLFORUM-250&quot;&gt;&lt;del&gt;MGNLFORUM-250&lt;/del&gt;&lt;/a&gt;; all subtasks of &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLFORUM-250&quot; title=&quot;Remove not supported moderation-permission&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLFORUM-250&quot;&gt;&lt;del&gt;MGNLFORUM-250&lt;/del&gt;&lt;/a&gt; (251, 252, 253, 254, 255) have been committed against 250  on master.&lt;/p&gt;</comment>
                            <comment id="81047" author="mdivilek" created="Tue, 11 Mar 2014 20:05:39 +0100"  >&lt;p&gt;Reopen: This is more like suggestion of different approach than reopening of ticket.&lt;/p&gt;

&lt;p&gt;If /modules/forum/config/createRolesForNewForums is set to true then &lt;tt&gt;info.magnolia.module.forum.DefaultForumManager#createForumRoles&lt;/tt&gt; will create three roles &lt;tt&gt;&quot;forum&quot; + forumName + &quot;user&quot;&lt;/tt&gt;, &lt;tt&gt;&quot;forum&quot; + forumName + &quot;moderator&quot;&lt;/tt&gt; and &lt;tt&gt;&quot;forum&quot; + forumName + &quot;admin&quot;&lt;/tt&gt;. &lt;tt&gt;&quot;forum&quot; + forumName + &quot;moderator&quot;&lt;/tt&gt; and &lt;tt&gt;&quot;forum&quot; + forumName + &quot;admin&quot;&lt;/tt&gt; are obsolete because of &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLFORUM-253&quot; title=&quot;DefaultForumManager#isModerator should work based on roles &quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLFORUM-253&quot;&gt;&lt;del&gt;MGNLFORUM-253&lt;/del&gt;&lt;/a&gt;, but when you create new forum then you want add access to this forum to certain group of users so &lt;tt&gt;&quot;forum&quot; + forumName + &quot;user&quot;&lt;/tt&gt; is still useful.&lt;br/&gt;
My suggestion is let createRolesForNewForums on true instead false. And then modify   &lt;tt&gt;info.magnolia.module.forum.DefaultForumManager#createForumRoles&lt;/tt&gt; to creates only &quot;forum&quot; + forumName + &quot;user&quot; role. So admins will not need create &lt;tt&gt;&quot;forum&quot; + forumName + &quot;user&quot;&lt;/tt&gt; role every time when they create new forum.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 6 Mar 2014 14:44:40 +0100</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ajones</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 49 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>cmeier</customfieldvalue>
            <customfieldvalue>mdivilek</customfieldvalue>
            <customfieldvalue>rkovarik</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i036g7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>18640</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>