<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:24:01 UTC 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-10769] Roles/Privileges</title>
                <link>https://jira.mongodb.org/browse/SERVER-10769</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I added the user &apos;listings&apos;. Would like to know what privileges are assigned to the user?&lt;br/&gt;
--Command used to create user (2.4.6  Version)&lt;br/&gt;
db.addUser(&apos;listings&apos;,&apos;listings&apos;)&lt;br/&gt;
db.system.users.find()&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;523381305b1df0481a61264d&quot;), &quot;user&quot; : &quot;listings&quot;, &quot;readOnly&quot; : false, &quot;pwd&quot; : &quot;bb14cb9184db4da5a3040564eedf0f86&quot; }</description>
                <environment></environment>
        <key id="89883">SERVER-10769</key>
            <summary>Roles/Privileges</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="sivkrish@cisco.com">Siva Balasubramaniam</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Sep 2013 21:34:48 +0000</created>
                <updated>Wed, 10 Dec 2014 23:11:03 +0000</updated>
                            <resolved>Mon, 16 Sep 2013 20:28:52 +0000</resolved>
                                                                    <component>Security</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="426398" author="spencer" created="Mon, 16 Sep 2013 20:28:52 +0000"  >&lt;p&gt;Great, glad we could help!&lt;/p&gt;</comment>
                            <comment id="426386" author="sivkrish@cisco.com" created="Mon, 16 Sep 2013 20:24:35 +0000"  >&lt;p&gt;Thank you Spencer, this is exactly what I was looking for. You may close the case.&lt;/p&gt;

&lt;p&gt;-Siva&lt;/p&gt;

</comment>
                            <comment id="426350" author="spencer" created="Mon, 16 Sep 2013 19:46:16 +0000"  >&lt;p&gt;I believe the confusion here arises from the fact that the access control rules changed between version 2.2 and 2.4 of the server.&lt;/p&gt;

&lt;p&gt;The concept of roles was added in version 2.4, and to create users with the new roles you need to use the new form of user creation that takes a full privilege document as the input.  How to create a user with the new roles is documented here: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/add-user-to-database/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/add-user-to-database/&lt;/a&gt;.  The form of the addUser shell helper you are using that takes just a user name and password without any roles is deprecated and left over for backwards compatibility with 2.2 which did not have explicit roles.  The privileges granted to a user made with that form don&apos;t match up exactly to any of the new roles, but is approximately the combination of readWrite, dbAdmin, and userAdmin when made on a non-admin database; users created with that form on the admin database are full super users of the system.&lt;/p&gt;

&lt;p&gt;I hope that helps clear things up, please let us know if you have further questions about this.&lt;/p&gt;</comment>
                            <comment id="425946" author="sivkrish@cisco.com" created="Mon, 16 Sep 2013 14:06:39 +0000"  >&lt;p&gt;Hi Dan,&lt;br/&gt;
            If I create a user using the following command &quot;db.addUser(&apos;listings&apos;,&apos;listings&apos;)&quot;, it doesn&apos;t tell us clearly what roles have been assigned to the user. Just says  &quot;readOnly&quot; : false, &quot;pwd&quot; : &quot;bb14cb9184db4da5a3040564eedf0f86&quot;.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Siva&lt;/p&gt;
</comment>
                            <comment id="425831" author="dan@10gen.com" created="Mon, 16 Sep 2013 09:13:57 +0000"  >&lt;p&gt;Can you explain what question you are asking please?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 16 Sep 2013 09:13:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 22 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 22 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>sivkrish@cisco.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmgo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrsvu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>82402</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hspbdr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>