<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:30 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-4614] mongorestore ignores perrmissions and acts like it worked</title>
                <link>https://jira.mongodb.org/browse/SERVER-4614</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I ran this:&lt;/p&gt;

&lt;p&gt;mongorestore --password MYPASSWORD --username aharbick --host productionhost:27017 --db locos_production --drop /Users/aharbick/databasedump.bson&lt;br/&gt;
connected to: productionhost:27017&lt;br/&gt;
Wed Jan  4 10:48:53 /Users/aharbick/databasedump.bson&lt;br/&gt;
Wed Jan  4 10:48:53      going into namespace &lt;span class=&quot;error&quot;&gt;&amp;#91;locos_production.collection&amp;#93;&lt;/span&gt;&lt;br/&gt;
Wed Jan  4 10:48:53      dropping&lt;br/&gt;
2145 objects found&lt;/p&gt;

&lt;p&gt;HOWEVER aharbick is a readonly account:&lt;/p&gt;

&lt;p&gt;aharbick.local:~/Projects/locos$ mongo productionhost/locos_production --username aharbick --password MYPASSWORD&lt;br/&gt;
MongoDB shell version: 2.0.1&lt;br/&gt;
connecting to: productionhost/locos_production&lt;br/&gt;
&amp;gt; db.collection.count()&lt;br/&gt;
2150&lt;br/&gt;
&amp;gt; db.collection.save(&lt;/p&gt;
{a: 1, b:2}
&lt;p&gt;)&lt;br/&gt;
unauthorized&lt;/p&gt;

&lt;p&gt;Furthermore, the mongrestore while appearing to have dropped my data and restored 2145 objects it didn&apos;t ACTUALLY do that.&lt;/p&gt;</description>
                <environment>Ubuntu (server) OS X (where I ran mongorestore)</environment>
        <key id="27681">SERVER-4614</key>
            <summary>mongorestore ignores perrmissions and acts like it worked</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="benjamin.becker">Ben Becker</assignee>
                                    <reporter username="aharbick">Andrew Harbick</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Jan 2012 16:05:01 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:49 +0000</updated>
                            <resolved>Thu, 5 Jan 2012 11:16:10 +0000</resolved>
                                    <version>2.0.1</version>
                                    <fixVersion>2.1.0</fixVersion>
                                    <component>Security</component>
                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="82972" author="auto" created="Fri, 27 Jan 2012 22:47:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Extend Auth::Level auth() parameter to whole DBClient inheritance tree&lt;/p&gt;

&lt;p&gt;Follow-up to commit 02853421 &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4614&quot; title=&quot;mongorestore ignores perrmissions and acts like it worked&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4614&quot;&gt;&lt;del&gt;SERVER-4614&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Warning from -Woverloaded-virtuals &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4802&quot; title=&quot;Add -Woverloaded-virtual to CXXFLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4802&quot;&gt;&lt;del&gt;SERVER-4802&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d841b9ea6a9161be9b8f0adad0905b091ce201d0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d841b9ea6a9161be9b8f0adad0905b091ce201d0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="77773" author="auto" created="Thu, 5 Jan 2012 11:03:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Ben Becker&apos;, u&apos;email&apos;: u&apos;ben.becker@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4614&quot; title=&quot;mongorestore ignores perrmissions and acts like it worked&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4614&quot;&gt;&lt;del&gt;SERVER-4614&lt;/del&gt;&lt;/a&gt;: prohibit read-only users from restoring data via mongorestore&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02853421e338a934f1a09582ac4d1f7e4906818b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02853421e338a934f1a09582ac4d1f7e4906818b&lt;/a&gt;&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>Thu, 5 Jan 2012 11:03:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 3 weeks, 5 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>
                            12 years, 3 weeks, 5 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aharbick</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>benjamin.becker</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrohq7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9128</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></customfieldvalue>

                        </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|ht0akn:</customfieldvalue>

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