<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:25 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-7025] read only in 2.2</title>
                <link>https://jira.mongodb.org/browse/SERVER-7025</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I tried testing the read only user on the new mongodb version and I can not not get read-only to work. I did this test on my PC, and not in our real production environment.Here is my test. Firt I started mongo, and create an admin user &quot;george&quot;. Then I restarted mongod with the --auth option.&lt;br/&gt;
C:\mongoDB\mongodb-win32-i386-2.2.0\bin&amp;gt;mongo&lt;br/&gt;
MongoDB shell version: 2.2.0&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
&amp;gt; db.auth(&quot;george&quot;,&quot;george&quot;)&lt;br/&gt;
1&lt;br/&gt;
&amp;gt; use ops&lt;br/&gt;
switched to db ops&lt;br/&gt;
&amp;gt; db.addUser(&quot;geo&quot;,&quot;geo&quot;,true)&lt;/p&gt;
{
        &quot;_id&quot; : ObjectId(&quot;5050efac7e688079cf00fdbd&quot;),
        &quot;user&quot; : &quot;geo&quot;,
        &quot;readOnly&quot; : true,
        &quot;pwd&quot; : &quot;54f4620002480121e1f23b0d293e0fe6&quot;
}
&amp;gt; db.auth(&quot;geo&quot;,&quot;geo&quot;)
1
&amp;gt; db.ll.find()
{ &quot;_id&quot; : ObjectId(&quot;5050ef8f7e688079cf00fdbc&quot;), &quot;fname&quot; : &quot;George&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050efe37e688079cf00fdbe&quot;), &quot;fname&quot; : &quot;George test read onl&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050f1850305681475bd79d6&quot;), &quot;fname&quot; : &quot;George test read onl TWO&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050fdefcd812110fa0466aa&quot;), &quot;fname&quot; : &quot;One&quot; }
&lt;p&gt;&amp;gt; db.ll.save(&lt;/p&gt;
{fname:&quot;Two&quot;}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.ll.find()&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;5050ef8f7e688079cf00fdbc&quot;), &quot;fname&quot; : &quot;George&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050efe37e688079cf00fdbe&quot;), &quot;fname&quot; : &quot;George test read onl&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050f1850305681475bd79d6&quot;), &quot;fname&quot; : &quot;George test read onl TWO&quot; }
{ &quot;_id&quot; : ObjectId(&quot;5050fdefcd812110fa0466aa&quot;), &quot;fname&quot; : &quot;One&quot; }
{ &quot;_id&quot; : ObjectId(&quot;505101cd7b5e3666d16d154e&quot;), &quot;fname&quot; : &quot;Two&quot; }
&lt;p&gt;&amp;gt; exit&lt;br/&gt;
bye&lt;/p&gt;

&lt;p&gt;It should not let me save the &quot;Two&quot; right? &lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment>Windows 32</environment>
        <key id="50371">SERVER-7025</key>
            <summary>read only in 2.2</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="gnikopo">George Nikopoulos</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Sep 2012 21:49:32 +0000</created>
                <updated>Fri, 15 Feb 2013 15:05:53 +0000</updated>
                            <resolved>Thu, 13 Sep 2012 00:27:33 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="163709" author="gnikopo" created="Wed, 12 Sep 2012 23:06:55 +0000"  >&lt;p&gt;Got it. I guess the subsequent db.auths inherit the first db.auths. I tried your suggestion and it works. Thanks.&lt;/p&gt;</comment>
                            <comment id="163700" author="spencer" created="Wed, 12 Sep 2012 22:34:04 +0000"  >&lt;p&gt;In the test above you are still authenticated as the admin user when you create the &quot;Two&quot; document.  You will need to logout() of the admin DB first to be denied write access.&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Sep 2012 22:34:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 23 weeks 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 23 weeks 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>gnikopo</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|hrnovj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16473</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|ht073z:</customfieldvalue>

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