<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ekramul Ansari on Medium]]></title>
        <description><![CDATA[Stories by Ekramul Ansari on Medium]]></description>
        <link>https://medium.com/@ekramulansari?source=rss-58ffeb876097------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*m6zB4lF0Q5zGYIWlF3wNlg.jpeg</url>
            <title>Stories by Ekramul Ansari on Medium</title>
            <link>https://medium.com/@ekramulansari?source=rss-58ffeb876097------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 06:09:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ekramulansari/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Atlas Mongo [MongoError: not authorized on admin to execute comman]]]></title>
            <link>https://ekramulansari.medium.com/atlas-mongo-mongoerror-not-authorized-on-admin-to-execute-comman-edbb11b9532b?source=rss-58ffeb876097------2</link>
            <guid isPermaLink="false">https://medium.com/p/edbb11b9532b</guid>
            <category><![CDATA[killop]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[not-authorized-on-admin]]></category>
            <category><![CDATA[atlas]]></category>
            <dc:creator><![CDATA[Ekramul Ansari]]></dc:creator>
            <pubDate>Fri, 12 Feb 2021 06:10:12 GMT</pubDate>
            <atom:updated>2021-02-12T08:10:59.814Z</atom:updated>
            <content:encoded><![CDATA[<h3>MongoError: not authorized on admin to execute command[Atlas Mongo]</h3><p>Atlas Mongo does not support killing query from other users.However you can kill query from you same user.</p><p>Cases:-</p><p>1. In general users with admin role are able to grep other users queries but only be able to kill its own queries.</p><p>2. Users with read role can read its own query only by using ownOps=true and can aslo kill it.</p><p>3.[note] So if we add ownOps= true then user with admin role will not able to find others queries.</p><p>There is no solution to kill another users queries by now,you can talk with atlas support team and ask for this feature.</p><p>Attaching the chat with atlas support:</p><p><em>In regards to see the </em><em>Unauthorized message, this will appears if you attempt to run </em><em>killOps via mongo Shell on operations that are not your own user initiated operation. Alternatively, if you wish to run </em><em>killOp for operations that other users has initiated, you can perform this on the </em><a href="https://docs.atlas.mongodb.com/real-time-performance-panel/"><em>Real Time Performance Panel.</em></a><em>We are continuously looking to improve and your opinion, with the rest of our community, genuinely impacts our changes. Do note we have a feature request </em><a href="https://feedback.mongodb.com/forums/924145-atlas/suggestions/40959043-expose-the-killop-action-when-creating-custom-ro"><em>here</em></a><em> posted on our </em><a href="https://feedback.mongodb.com/"><em>MongoDB Feedback Engine</em></a><em> to help improve this functionality, please feel free to upvote or comment on your use case.</em></p><p>Example to find slow queries using node.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUaeY-J4r4kbgqdn98L39g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edbb11b9532b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>