<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:06:08 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>[KAFKA-332] Config option to skip user permission validation</title>
                <link>https://jira.mongodb.org/browse/KAFKA-332</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;The MongoDB connector runs the following command to check if the provided user has &quot;appropriate&quot; permissions for what the source/sink connectors will do with the respective Mongo database.&lt;/p&gt;

&lt;p&gt;{{db.runCommand(&lt;/p&gt;
{connectionStatus: 1, showPrivileges: true}
&lt;p&gt;);}}&lt;/p&gt;

&lt;p&gt;CosmosDB Mongo API does not support yet the `connectionStatus` command as per this link: &lt;a href=&quot;https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/feature-support-42&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/feature-support-42&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While the immediate answer would be to drop CosmosDB and use a &quot;real&quot; MongoDB backend, things are not always that simple. Besides, in the case of CosmosDB Mongo API, this check is unrealistic because the user does have the necessary permissions, so skipping the check would not cause any harm.&lt;/p&gt;

&lt;p&gt;I propose that there is a &lt;b&gt;new configuration entry (false by default) that allows that: skipping user permissions check&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Will follow up with a link to the appropriate PR, just want to raise this ticket first so I can link it in the PR.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2152137">KAFKA-332</key>
            <summary>Config option to skip user permission validation</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="robert.walters@mongodb.com">Robert Walters</assignee>
                                    <reporter username="javier.holguera@gmail.com">Javier Holguera</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Oct 2022 10:26:47 +0000</created>
                <updated>Thu, 27 Oct 2022 18:45:58 +0000</updated>
                            <resolved>Thu, 27 Oct 2022 18:45:58 +0000</resolved>
                                                                    <component>Sink</component>
                    <component>Source</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4933312" author="robert.walters" created="Thu, 27 Oct 2022 18:45:58 +0000"  >&lt;p&gt;Ignoring permission checks would degrade the user experience and not add any benefit to users of the connector when connecting to MongoDB.&#160; I suggest forking the code and implementing your code to ignore the check.&lt;/p&gt;</comment>
                            <comment id="4931388" author="JIRAUSER1271427" created="Thu, 27 Oct 2022 10:37:01 +0000"  >&lt;p&gt;Any news on this?&lt;/p&gt;</comment>
                            <comment id="4911973" author="JIRAUSER1271427" created="Wed, 19 Oct 2022 09:53:31 +0000"  >&lt;p&gt;Any news with this ticket?&lt;/p&gt;

&lt;p&gt;Btw this was the original conversation in the Mongo Forum: &lt;a href=&quot;https://www.mongodb.com/community/forums/t/kafka-connect-mongo-connector-with-cosmosdb-mongo-api/182772/10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/community/forums/t/kafka-connect-mongo-connector-with-cosmosdb-mongo-api/182772/10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4879079" author="JIRAUSER1271427" created="Wed, 5 Oct 2022 10:29:05 +0000"  >&lt;p&gt;Link to PR: &lt;a href=&quot;https://github.com/mongodb/mongo-kafka/pull/120&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/pull/120&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0sxgn:i</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>