<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:33:03 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>[COMPASS-3389] Confusing behavior when connecting with user that has database-level permissions to Atlas cluster where the database does not exist</title>
                <link>https://jira.mongodb.org/browse/COMPASS-3389</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Create a non-free Atlas cluster&lt;/li&gt;
	&lt;li&gt;In the security section, create a custom role that grants access to a DB that does not exist in the cluster (see screenshot below)&lt;/li&gt;
	&lt;li&gt;In the security section, create a user and assign the custom role created in 2&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Connect with Compass to the Cluster created in 1, where the DB used for the custom role is not present.&lt;/p&gt;

&lt;p&gt;Result: Compass displays in the side bar and in the Databases tab the database created in 2, even though it does not exist in the collection.&lt;/p&gt;

&lt;p&gt;Expected result: the DB is not shown in the side bar and in the Databases tab as it does not exist&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/206429/206429_image-2019-01-16-14-19-24-967.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="673238">COMPASS-3389</key>
            <summary>Confusing behavior when connecting with user that has database-level permissions to Atlas cluster where the database does not exist</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="massimiliano.marcon@mongodb.com">Massimiliano Marcon</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jan 2019 13:20:07 +0000</created>
                <updated>Thu, 17 Jan 2019 09:57:23 +0000</updated>
                            <resolved>Thu, 17 Jan 2019 09:57:23 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2117991" author="massimiliano.marcon" created="Thu, 17 Jan 2019 09:57:23 +0000"  >&lt;p&gt;While I would agree this may be confusing in some situations, it&apos;s probably an edge case. Additionally, if the user has the necessary permissions (which Atlas groups into&#160;&#8220;Database Actions and Roles&#8221;) it is possible from Compass to create collections in the not-yet-existing database and the database will be created along with the first collection.&lt;/p&gt;</comment>
                            <comment id="2116827" author="lucas.hrabovsky" created="Wed, 16 Jan 2019 14:18:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=massimiliano.marcon&quot; class=&quot;user-hover&quot; rel=&quot;massimiliano.marcon&quot;&gt;massimiliano.marcon&lt;/a&gt; Linking this up to two tickets I found yesterday.&lt;/p&gt;

&lt;p&gt;We already use the {{{ connectionStatus: 1, showPrivileges: true\ }}} -&amp;gt; {{{ usersInfo: user, showPrivileges: true }}} pattern: &lt;a href=&quot;https://github.com/mongodb-js/data-service/blob/master/lib/instance-detail-helper.js#L297&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/data-service/blob/master/lib/instance-detail-helper.js#L297&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I suspect we have a end-to-end testing gap to fill so I created &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-3390&quot; title=&quot;Add Atlas test to connectivity integration tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-3390&quot;&gt;&lt;del&gt;COMPASS-3390&lt;/del&gt;&lt;/a&gt;. The eng side is trivial (we just add more travis secure connection strings to the matrix). More difficult is the homework/paperwork to define the matrix and get those Atlas deployments provisioned.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="453196">COMPASS-2245</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="487905">SERVER-32942</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                        <issuelink>
            <issuekey id="673257">COMPASS-3390</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="206429" name="image-2019-01-16-14-19-24-967.png" size="69508" author="massimiliano.marcon@mongodb.com" created="Wed, 16 Jan 2019 13:19:26 +0000"/>
                    </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, 16 Jan 2019 14:18:25 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 3 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>lucas.hrabovsky</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hujgdb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huj2mn:</customfieldvalue>

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