<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to prevent user to delete volumes? in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431430#M275</link>
    <description>&lt;P&gt;What release do you see this in? I believe you are describing burt&lt;SPAN&gt;1361017, which&lt;/SPAN&gt;&amp;nbsp;was fixed in 9.8 and following releases.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 13:42:59 GMT</pubDate>
    <dc:creator>degraaf</dc:creator>
    <dc:date>2022-01-31T13:42:59Z</dc:date>
    <item>
      <title>How to prevent user to delete volumes?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431380#M272</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help us to know if there is a workaround to the following behavior?&lt;/P&gt;&lt;P&gt;"Since new clusters are using the REST API we cannot prevent users deleting the volumes, because volume modify command contains volume delete permission."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quang-Chinh&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:05:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431380#M272</guid>
      <dc:creator>Quang-Chinh</dc:creator>
      <dc:date>2025-06-04T10:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent user to delete volumes?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431383#M273</link>
      <description>&lt;P&gt;You can use a traditional login role to allow access to "volume modify" and prevent it for "volume delete" and allow that role for rest via "vserver services web access -name rest". This will cause DELETE on /api/storage/volumes/{uuid} to fail for users with the assigned role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;cluster-1::&amp;gt; security login role show -role test1 &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Role&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Command/&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Vserver&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Name&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Directory &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Query Level&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;---------- ------------- --------- ----------------------------------- --------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;cluster-1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;test1 &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;DEFAULT &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;volume create &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;volume delete &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;volume modify &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;volume show &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;5 entries were displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;cluster-1::&amp;gt; vserver services web access show -name rest -role test1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Vserver&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Type &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; S&lt;/SPAN&gt;ervice Name &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Role &lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;-------------- -------- ---------------- ----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;cluster-1&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;admin&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;rest &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;test1&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 15:31:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431383#M273</guid>
      <dc:creator>degraaf</dc:creator>
      <dc:date>2022-01-28T15:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent user to delete volumes?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431425#M274</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer provided the following feedback:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested the provided solution.&lt;/P&gt;&lt;P&gt;Un fortunately even if we have a volume delete set to none, user still have possibility to remove the Volume.&lt;/P&gt;&lt;P&gt;This is because Volume modify -access all overrides on all volume permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me to confirm this behavior? If so, is there any "workaround" to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 12:40:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431425#M274</guid>
      <dc:creator>Quang-Chinh</dc:creator>
      <dc:date>2022-01-31T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent user to delete volumes?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431430#M275</link>
      <description>&lt;P&gt;What release do you see this in? I believe you are describing burt&lt;SPAN&gt;1361017, which&lt;/SPAN&gt;&amp;nbsp;was fixed in 9.8 and following releases.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 13:42:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431430#M275</guid>
      <dc:creator>degraaf</dc:creator>
      <dc:date>2022-01-31T13:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent user to delete volumes?</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431619#M278</link>
      <description>&lt;P&gt;Customer is still running old ONTAP and one of the key point for them to accept to upgrade to a higher version is this specific topic.&lt;/P&gt;&lt;P&gt;I've informed them about this BURT and asked them to try on a lab.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:09:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/How-to-prevent-user-to-delete-volumes/m-p/431619#M278</guid>
      <dc:creator>Quang-Chinh</dc:creator>
      <dc:date>2022-02-03T13:09:12Z</dc:date>
    </item>
  </channel>
</rss>

